pTAL Reference Manual (G06.24+, H06.09+, J06.03+)

EXTADDR
EXT32ADDR
EXT64ADDR
INT
INT(32)
FIXED
FIXED (fpoint )
PROCADDR
PROC32ADDR
PROC64ADDR
REAL
REAL
REAL(64)
SGBADDR
SGWADDR
SGXBADDR
SGXWADDR
STRING
UNSIGNED (width )
WADDR
NOTE: The data types, EXT32ADDR, EXT64ADDR, PROC32ADDR, and PROC64ADDR are
64-bit addressing functionality added to the EpTAL compiler starting with SPR T0561H01^AAP.
For more information, see Appendix E, “64-bit Addressing Functionality” (page 531).
fpoint
For the FIXED data type, fpoint is the implied fixed-point setting. fpoint is an integer
in the range -19 through 19. If you omit fpoint, the default fpoint is 0 (no decimal places).
A positive fpoint specifies the number of decimals to the right of the decimal point. A
negative fpoint specifies a number of integers to the left of the decimal point.
fpoint can also be an asterisk (*).
width
For INT, REAL, and UNSIGNED data types, the value in parentheses is a constant expression
specifying the width, in bits of the variable. The constant expression can include LITERALs
and DEFINEs. The result of the constant expression must be one of the following values:
width in bitsData Type Prefix
16, 32, or 64INT
32 or 64REAL
a value in the range 1 through 31UNSIGNED
(simple variable, parameter, or function result)
1, 2, 4, or 8UNSIGNED (array)
104 Simple Variables