AIPS HELP file for ARRAY in 31DEC13
As of Thu May 23 17:58:59 2013
Use: To create one or more new adverbs as floating point
arrays and to specify their dimensions. May be used only
when typing a procedure.
Grammar: ARRAY name1 (dim11, ...), name2 (dim21, ...), ...
where the namei are the new array names and their
dimensions are given by the dimij. There is no real
limit to the number of dimensions for an array. The
dimij may be given as a single number, e.g. n, which
means 1 through n, or they may be given in the form
n TO m, (or n:m) meaning n through m.
Examples: ARRAY JUNK1(5), JUNK2(-7 : -3, 4)
ARRAY 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. For example, JUNK2 = JUNK1 from
above would set JUNK2(-7,1) through JUNK2(-3,1) to
the 5 values in JUNK1 and zero the rest of JUNK2.