TAL Programmer's Guide
Declaring Arrays
Using Arrays
7–6 096254 Tandem Computers Incorporated
REAL(64) Arrays
For REAL(64) arrays, the compiler allocates a quadrupleword for each element:
REAL(64) r[0:1];
365
R[0]
R[1]
FIXED Arrays
For FIXED arrays, the compiler allocates a quadrupleword for each element:
366
FIXED f[0:1];
F[0]
F[1]
When you declare a FIXED array, you can specify the implied fpoint of values you
store in the array elements. The fpoint is an integer in the range –19 through 19,
enclosed in parentheses, following the FIXED keyword. The default fpoint is 0 (no
decimal places). Here is an example of a FIXED array with an fpoint of 5:
FIXED(5) array[0:2];
If you declare a FIXED(*) array, values stored in the array are not scaled and are
treated as having an fpoint of 0.