pTAL Reference Manual (H06.08+)
Structures
HP pTAL Reference Manual—523746-006
9-57
Definition Substructure
lower-bound
is an INT constant expression (in the range -32,768 through 32,767) that
specifies the index (relative to the zeroth substructure occurrence) of the first
substructure occurrence you want allocated. Each occurrence is one copy of
the substructure.
upper-bound
is an INT constant expression (in the range −32,768 through 32,767) that
specifies the index (relative to the zeroth substructure occurrence) of the last
substructure occurrence you want allocated.
To declare a single-occurrence substructure, omit both bounds or specify the
same value for both bounds.
field-alignment
FIELDALIGN
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.
If a definition substructure does not specify a FIELDALIGN clause, the
contained substructure’s field alignment is the field alignment of its
encompassing structure or substructure.
If you do not specify a FIELDALIGN clause on a structure declaration, pTAL
uses the current value of the FIELDALIGN compiler directive. The default value
of the FIELDALIGN directive is AUTO.
If you specify a FIELDALIGN (NODEFAULT) compiler directive, you must
specify a FIELDALIGN clause on every definition structure and template
structure.
SHARED2
specifies that the base of the structure and each field in the structure must
begin at an even byte address except STRING fields.
FIELDALIGN ( SHARED2
SHARED8
AUTO
PLATFORM
)
VST992.vsd










