pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
NopTAL privileged procedure
NoCan be executed only by privileged procedures
NoSets condition code
NoSets $CARRY
NoSets $OVERFLOW
variable
is the identifier of a simple variable, array, simple pointer, structure, structure data item, or
structure pointer.
$TYPE returns an INT value that has a meaning as follows:
MeaningValueMeaningValue
REAL5Undefined0
REAL(64)6STRING1
Substructure7INT2
Structure8INT(32)3
UNSIGNED9FIXED4
For a structure pointer, $TYPE returns the value 8, regardless of whether the structure pointer points
to a structure or to a substructure.
You can use $TYPE in LITERAL expressions and global initializations, because $TYPE always returns
a constant value.
Example 309 $TYPE Routine
REAL(64) var1;
INT type1;
type1 := $TYPE (var1); ! Return 6 for REAL(64)
$UDBL
$UDBL converts an unsigned INT value to an INT(32) value.
NopTAL privileged procedure
NoCan be executed only by privileged procedures
NoSets condition code
NoSets $CARRY
NoSets $OVERFLOW
int-expression
is an unsigned INT expression.
346 Built-In Routines