TAL Reference Manual
Standard Functions
TAL Reference Manual—526371-001
14-3
Summary of Standard Functions
$LFIX Converts an unsigned INT expression to a
FIXED(fpoint) expression
$UDBL Converts an unsigned INT expression to an INT(32)
expression
Address
conversion
$LADR Converts an extended address to a standard address
$XADR Converts a standard address to an extended address
Character test $ALPHA Tests an expression for an alphabetic character
$NUMERIC Tests an expression for a numeric character
$SPECIAL Tests an expression for a special character
Minimum-
maximum
$LMAX Returns the maximum of two unsigned INT expressions
$LMIN Returns the minimum of two unsigned INT expressions
$MAX Returns the maximum of two signed INT, INT(32),
FIXED(fpoint), REAL, or REAL(64) expressions
$MIN Returns the minimum of two signed INT, INT(32),
FIXED(fpoint), REAL, or REAL(64) expressions
Carry and
overflow
$CARRY Tests the state of the carry indicator of the environment
register
$OVERFLOW Tests the state of the overflow indicator of the
environment register
FIXED
expression
$POINT Returns an INT value that is the fixed-point setting of
an expression
$SCALE Moves the position of the implied decimal point in a
stored FIXED(fpoint) value
Variable $BITLENGTH Returns an INT value that is the length, in bits, of a
variable
$BITOFFSET Returns an INT value that is the 0-relative bit offset of a
structure item from the address of the zeroth structure
occurrence
$LEN Returns an INT value that is the unit length, in bytes, of
a variable
$OCCURS Returns an INT value that is the number of occurrences
of a variable
$OFFSET Returns an INT value that is the offset, in bytes, of a
structure item from the address of the zeroth structure
occurrence
$TYPE Returns an INT value that indicates the data type of a
variable
Table 14-1. Summary of Standard Functions (page2of3)
Functional
Group
Function
Name Description