Wait for input from the current device ($IO).
Proceed after
receipt of EOM (End-of-Message) and place input string into
variable named in A. $X + $L(A)
$X.
Wait for input from the current device.
Proceed after receipt
of one character and place the integer character code into
variable in A. $X + 1 $X.
Set up a timer of Timeout seconds.
Check for receipt of EOM and proceed if received.
Otherwise, proceed after receipt of EOM
or expiration of timer, whichever occurs first.
Set up a timer of Timeout seconds.
Check for receipt of one character and proceed if received.
Otherwise, proceed after
receipt of one character or expiration of timer, whichever occurs
first.
Place input string into variable named in A.
True
Ifswitch ($TEST). $X + $L(A)
$X.
Place the integer character code of input into variable named
in A.
True
Ifswitch ($TEST). $X + 1
$X.
Place the input string so far received into variable named in
A.
False
Ifswitch ($TEST). $X + $L(A)
$X.
Place –1 into variable named in A.
False
Ifswitch ($TEST).
Output Result to the current device. $X + $L(Result)
$X.