TAL Reference Manual
Structures
TAL Reference Manual—526371-001
8-24
Example of Simple Pointer Redefinition
Example of Simple Pointer Redefinition
This example declares new simple pointer EXT_POINTER to redefine simple variable
VAR:
STRUCT my_struct;
BEGIN
STRING var[0:5];
STRING .EXT ext_pointer = var; !Redefinition
END;
Structure Pointer Redefinition
A structure pointer redefinition associates a new structure pointer with a previous item
at the same BEGIN-END level of a structure.
STRING
is the STRING attribute.
INT
is the INT attribute.
. (period)
is the standard indirection symbol and denotes a standard (16-bit) pointer.
.EXT
is the extended indirection symbol and denotes an extended (32-bit) pointer.
identifier
is the identifier of the new structure pointer.
STRING
INT .EXT
. identifier ( referral )
=
previous -
identifier
;
VST0816.vsd