TAL Programmer's Guide

Using Structure Pointers
Using Pointers
9–24 096254 Tandem Computers Incorporated
In the preceding example, the upper-byte offset of ARRAY is larger than 32,767,
computed as follows:
9999 * 10 + 9 = 99999
Upper bound of array
Size of structure in bytes
Upper bound of structure
Size of offset to ARRAY[9]
334
D-Series System. If you are writing a program to run on a D-series system and need to
index into extended indirect structures, you can either:
Determine when to use a signed INT or INT(32) index as described for C-series
programs in the preceding subsection.
Use the INT32INDEX directive, which is easier and safer, albeit slightly less
efficient.
INT32INDEX generates INT(32) indexes from INT indexes and computes the correct
offset for the indexed structure item. INT32INDEX overrides the INHIBITXX or
NOINHIBITXX directive, whichever is in effect.
NOINT32INDEX, the default, generates incorrect offsets for structure items whose
offsets are outside the signed INT range. NOINT32INDEX does not override
INHIBITXX or NOINHIBITXX.