TAL Reference Manual

Arrays
TAL Reference Manual526371-001
7-2
Array Declaration
type
is any data type described in Section 3, Data Representation.
. (a period)
is the standard indirection symbol and denotes 16-bit indirect addressing. An
absence of any indirection symbol (. or .EXT) denotes 16-bit direct addressing. Do
not use an indirection symbol with sublocal or UNSIGNED arrays.
.EXT
is the extended indirection symbol and denotes 32-bit indirect addressing. An
absence of any indirection symbol (. or .EXT) denotes 16-bit direct addressing. Do
not use an indirection symbol with sublocal or UNSIGNED arrays.
identifier
is the identifier of the array.
lower-bound
is an INT constant expression (in the range –32,768 through 32,767) that specifies
the index (relative to the zeroth element) of the first array element you want
allocated.
upper-bound
is an INT constant expression (in the range –32,768 through 32,767) that specifies
the index (relative to the zeroth element) of the last array element you want
allocated. For arrays declared outside of structures,
upper-bound must be equal to
or greater than
lower-bound.
initialization
is a constant or a constant list of values to assign to the array elements, beginning
with the lower-bound element. (Constant lists are described in Section 3, Data
Representation.) If you specify fewer initialization values than the number of
type identifier
[
lower-
bound
:
upper-
bound
.
.EXT
]
;
:= initialization
,
VST0701.vsd