Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Usage Notes

Example

CDD/Plus Dictionary Data Definition Language Utility ARRAY — VMS CDD+_4.1A

 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.

Additional information available:

Usage NotesExample

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.


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.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026