pTAL Conversion Guide

pTAL Built-In Routines
pTAL Conversion Guide527302-002
18-21
$EXECUTEIO
If var1 or var2 names an entire array, $EXCHANGE exchanges element 0 of
the array.
$EXECUTEIO
$EXECUTEIO initiates a command to the channel.
channel input
uINT:value
is the channel number to which the I/O is initialized.
Figure 18-4. TAL Code Equivalent to $EXCHANGE Routine
STACK var1, var2;
STORE var1, var2;
Example 18-12. Call to $EXCHANGE Routine
INT var1;
INT var2;
INT(32) var3;
INT(32) var4;
$EXCHANGE(var1, var2);
$EXCHANGE(var3, var4);
Note. The EpTAL compiler does not support this procedure.
pTAL privileged procedure Yes
Can be executed only by privileged procedures Yes
Sets condition code Yes
Sets $CARRY No
Sets $OVERFLOW No
,
) ;
,
,
,
$EXECUTEIO
VST616.vsd
channel( lprmcommand
lacsubcommand rdstdevstatus
channel-status