SPL to HP C/XL Migration Guide (30231-90001)
8-: 11
4. Direct; unbounded; variable is cell zero; cell zero in next
Q-relative location; array NOT allocated.
5a. Indirect; unbounded; variable is pointer to cell zero; pointer in
next Q-relative location; pointer IS allocated; array NOT
allocated.
5b. Indirect; unbounded; variable is pointer to cell zero; pointer in
specified DB-, Q-, or S-relative location; pointer NOT allocated;
array NOT allocated.
6. Indirect; unbounded; variable is pointer to cell zero; pointer in
next Q-relative location; pointer IS allocated; array NOT
allocated.
7. Direct; unbounded; variable is cell zero; cell zero in specified
DB-, Q-, or S-relative location; array NOT allocated.
8a. Direct (if
ref-id
is direct array or simple variable); unbounded;
variable is cell zero; cell zero in specified location; array NOT
allocated.
Indirect (if
ref-id
is pointer or indirect array); unbounded;
variable is pointer to cell zero; cell zero in
ref-id
location;
pointer in next Q-relative location IF one %id% type is BYTE and
other is not; ELSE pointer location shared with
ref-id
; pointer IS
allocated; array NOT allocated.
8b. Direct; unbounded; variable is cell zero; cell zero in specified
location; array NOT allocated.
9. Direct (if
ref-id
is direct array); unbounded; variable is cell
zero; cell zero in specified location; array NOT allocated.
Indirect (if
ref-id
is pointer or indirect array); unbounded;
variable is pointer to cell zero; cell zero in specified location;
pointer in next Q-relative location IF specified location is not
ref-id
cell zero OR IF one array is BYTE and other is not; ELSE
pointer location shared with
ref-id
; pointer IS allocated; array
NOT allocated.
Array forms 1a, 1b, 3, 4, 5a, 5b, 6, 7, 8a, 8b, and 9 correspond directly
to global array forms 1a, 1b, 2a, 3a, 4a, 4b, 5, 6, 7a, 7b, and 8,
respectively, except that they are Q-relative rather than DB-relative.
Array forms 3, 4, 5, 6, 7, 8, and 9 imply various methods of data
equivalencing or "overlays".
Only array form 10 may be initialized.
Comparison of Specific Local Array Declarations. See also "ARRAY
Declaration".