TAL Programmer's Guide

Using Structure Pointers
Using Pointers
096254 Tandem Computers Incorporated 9–21
The indexed item determines the size of the index offset, as listed in Table 9-4:
Table 9-4. Indexing Structure Pointers
Indexed Item Data Type Size of Index Offset
Structure or structure pointer Not applicable Total bytes in one structure occurrence
Substructure Not applicable Total bytes in one substructure occurrence
Simple variable or array STRING Byte
Simple variable or array INT Word
Simple variable or array INT(32) or REAL Doubleword
Simple variable or array REAL(64) or FIXED Quadrupleword
Indexing Standard Structure Pointers
The index for standard structure pointers must be a signed INT arithmetic expression
in the range –32,768 through 32,767. Examples of signed INT arithmetic expressions
are:
25
index
index + 2
index – 1
9 * index