pTAL Reference Manual (G06.24+, H06.09+, J06.03+)

repetition-constant-list
repetition-factor
is an INT constant that specifies the number of times constant-list-seq occurs.
constant-list-seq
is a list of one or more constants, each stored on an element boundary:
constant
is a character string, a number, or a LITERAL specified as a single operand. The range and
syntax for specifying constants depends on the data type, as described for each data type
on preceding pages.
FIELDALIGN-clause
specifies how you want the compiler to align the base of the structure and fields in the structure.
The offsets of fields in a structure are aligned relative to the base of the structure. For more
information about constant list alignment, see Constant List Alignment Specification (page 64).
SHARED2
specifies that the base of the structure and each field in the structure must begin at an even
byte address except STRING fields, which can begin at any byte address, and UNSIGNED
fields.
SHARED8
specifies that the offset of each field in the structure from the base of the structure must be
begin at an address that is an integral multiple of the width of the field.
Constant List Alignment Specification
A constant list alignment specification controls the alignment of elements of constant lists whose
element type is not STRING. Such a constant list can have an alignment of SHARED2 or SHARED8.
Nested constant lists cannot have an alignment specification; they inherit the alignment of the
containing constant list. SHARED2 causes alignment identical to TAL. SHARED8 additionally requires
that 4-byte and 8-byte scalars are aligned to their size. You must insert filler constants of ensure
proper alignment of 4-byte and 8-byte aligned items. A SHARED8 constant list containing an item
that is misaligned is an error.
An optional alignment specification gives the alignment of a constant list. It occurs immediately
before the opening bracket of the constant list. There is no default constant list alignment. The
alignment specification is required if SHARED2 and SHARED8 would give different results.
64 Data Representation