pTAL Reference Manual (H06.03+)
Structures
HP pTAL Reference Manual—523746-005
9-64
Structure Pointer
identifier
is the identifier of the new structure pointer.
referral
is the identifier of a structure that provides the structure layout. You can specify any
previously declared structure (including the encompassing structure) or structure
pointer.
REFALIGNED
specifies the base alignment of the structures that the structure pointer will
reference.
2
references a structure that might not be well-aligned.
8
indicates that the base of the structure and the fields in the structure are well
aligned in memory
previous-identifier
is the identifier of a simple variable, array, substructure, or pointer previously
declared in the same structure. No index is allowed with this identifier.
The addressing mode and STRING or INT attribute determine the kind of addresses a
structure pointer can contain, as described in Table 9-7 on page 9-50.
Example 9-49. Structure Pointer Redefinition
STRUCT record;
BEGIN
FIXED data;
INT std_link_addr;
INT .std_link (record) = std_link_addr; ! Redefinition
INT(32) ext_link_addr;
INT .EXT ext_link (record) = ext_link_addr; ! Redefinition
END;










