pTAL Reference Manual (H06.08+)
Structures
HP pTAL Reference Manual—523746-006
9-45
Referral Substructures
Referral Substructures
A referral substructure allocates storage for a substructure whose layout is the same
as the layout of a previously declared structure or structure pointer.
identifier
is the identifier of the referral substructure.
referral
is the identifier of a structure that provides the structure layout. You can specify any
previously declared structure (except the encompassing structure) or structure
pointer. If the previous structure has an odd-byte size, the compiler rounds the size
of the new substructure up so that it has an even-byte size.
range
lower-bound
is an INT constant expression
(in the range -32,768 through 32,767) that
specifies the index
(relative to the zeroth 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 occurrence) of the last substructure
occurrence you want allocated. For a single-occurrence substructure, omit both
bounds or specify the same value for both bounds.
STRUCT
range
;
(
referral
)
VST203.vsd
identifier
[
lower-bound
: ]
upper-bound
VST993.vsd










