>>-ARRay--+--------+--+-------------+-------------------------->< '-window-' | .-;-------. | | V | | '---element-+-'
If supplied, the window must be an LSM Information window. If omitted, the first LSM Information window is used. If no LSM Information window is open, one is opened.
Simple variables are defined by name only. You can define based variables by name only, in which case the declared basing is used by IDF, or you can specify an explicit locating expression.
See Variable expressions for a complete description of the syntax of the expressions which may be used for ARRAY variable name arguments.
You can change the displayed data by overtyping it.
In EBCDIC display mode, character data equal to X'FF' or below X'40' is displayed as a period character.
In ASCII display mode, character data which does not correspond to a displayable EBCDIC character is displayed as a period character.
If a based variable was respecified, the current active USINGs will be used to locate the variable.
The display of the contents of the variables may be incorrect if the PSW indicates that execution is in the middle of a statement. This is because the variable may be in a transitional state, not having yet achieved its new value. Variable contents are only certain at the start and end of a statement.
Examples
array stuff(15)
array addr(x'20000')->stuff(20)
array addr(12(r2))->ptr->stuff(2)
array ptr->ptr2->stuff
array ptr(3)->ptr->stuff
array array1(10);array2(-5)
array chrarray(15,1:10);chrarray(15,1::10)
array chrarray[15,0:9];chrarray[15,0::10]