pTAL Reference Manual (H06.03+)
Structures
HP pTAL Reference Manual—523746-005
9-56
Definition Substructure
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.
previous-identifier
is the identifier of a simple variable, array, substructure, or pointer previously
declared in the same structure. You cannot specify an index with this identifier.
In a redefinition, the new item and the previous (nonpointer) item both must have a
byte address or both must have a word address. If the previous item is a pointer, the
data it points to must be word addressed or byte addressed to match the new item.
Definition Substructure
A definition substructure redefinition associates a new definition substructure with a
previous item at the same BEGIN-END level of a structure.
identifier
is the identifier of the new substructure.
range
Example 9-44. Array Redefinition
STRUCT .s;
BEGIN
INT a[0:3];
INT(32) b[0:1] = a; ! Redefine INT array as INT(32) array
END;
STRUCT
identifier
structure-layout ;
range field-alignment
previous-identifier
=
;
VST707.vsd
[ lower-bound : ]upper-bound
VST993.vsd










