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
var1
input,output
anytype: var
a variable whose contents are exchanged with var2.
var2
input,output
anytype: var
a variable whose contents are exchanged with var1.
var1 and var2 must meet the following requirements:
• var1 and var2 must both be INT variables or both be INT(32) variables.
• Neither var1 nor var2 can be a structure, but they can be fields of structures.
• Neither var1 nor var2 can be STRING, UNSIGNED, or USE variables, nor can they be
bit strings.
• var1, var2, or both can be array elements.
• If var1 or var2 names an entire array, $EXCHANGE exchanges element 0 of the array.
$EXECUTEIO
NOTE: The EpTAL compiler does not support this procedure.
$EXECUTEIO executes an I/O operation.
YespTAL privileged procedure
YesCan be executed only by privileged procedures
YesSets condition code
NoSets $CARRY
NoSets $OVERFLOW
304 Built-In Routines