AIPS HELP file for STRING in 31DEC22
As of Mon May 16 5:40:23 2022
Use: To create one or more new adverbs as character string
arrays and to specify their dimensions. May be used
only when typing a procedure.
Grammar: STRING*n name1 (dim11, ...), name2 (dim21, ...), ...
where the namei are the new string array names, the
n is the length of each element of the arrays in
characters, and the array dimensions, which are
optional, are given by the dimij. The dimij may be
given as a single number, e.g. n, or a range, e.g.
n TO m. The actual length of each string element
will not be n, but the next higher integer multiple
Examples: STRING*8 JUNK1(5), JUNK2(-7 TO -3, 4)
STRING*2 CRAZY(19, -1000 TO -987, 5)
When the arrays are used by POPS, the subscripts are
always tested to see that they are within range. The
data are stored in the canonical Fortran order (i.e.
the first subscript varies fastest). Two arrays may
be equated if the RHS has the same or smaller total
dimension as the LHS and the length of each element of
the RHS is less than or equal to the length of each
element of the LHS. For example, JUNK2 = JUNK1 from
above would set JUNK2(-7,1) through JUNK2(-3,1) to
the 5 values in JUNK1 and blank fill the rest of JUNK2.