Library /sys$common/syshlp/CDDLHELP.HLB  —  ARRAY
  The ARRAY field attribute clause declares multidimensional arrays  or
  one-dimensional  arrays.   ARRAY  is most useful when the subscript's
  lower bound is not equal to 1.

1  –  Usage Notes

   o  With ARRAY, each subscript has an upper and lower  bound  defined
      by a pair of signed integers.

   o  In multidimensional  arrays,  ROW_MAJOR  declares  the  rightmost
      subscript  to  be the fastest varying.  COLUMN_MAJOR declares the
      leftmost subscript to be the fastest varying.

   o  If neither ROW_MAJOR nor COLUMN_MAJOR is specified,  the  default
      is ROW_MAJOR.

2  –  Example

  In the following example, the ARRAY clause declares 20  instances  of
  SUPPLIER  (from  0  to  19)  where each instance is four 30-character
  strings.

  SUPPLIER                        ARRAY 0:19 1:4
                                  DATATYPE IS TEXT
                                  SIZE IS 30 CHARACTERS.
Close Help