TAL Reference Manual
Structures
TAL Reference Manual—526371-001
8-23
Example of Referral Substructure Declaration
Example of Referral Substructure Declaration
This example declares a referral substructure redefinition that uses a template 
structure layout:
STRUCT temp(*); !Declare template structure
 BEGIN
 STRING a[0:2];
 INT b;
 STRING c;
 END;
STRUCT .ind_struct; !Declare definition structure
 BEGIN
 INT header[0:1];
 STRING abyte;
 STRUCT abc (temp) [0:1]; !Declare ABC
 STRUCT xyz (temp) [0:1] = abc;
 !Redefine ABC as XYZ
 END;
Simple Pointer Redefinition
A simple pointer redefinition associates a new simple pointer with a previous item at 
the same BEGIN-END level of a structure.
type
is any data type except UNSIGNED. The data type determines how much data the 
simple pointer can access at a time—a byte, word, doubleword, or quadrupleword.
. (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 simple pointer.
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.
VST0815.vsd
type
identifier
.
=
. EXT
previous-
identifier
;










