Reviewed June 2020
xcall TINKEY, char
TINKEY allows you to input a keyboard character if one is available, without waiting if one is not available.
Parameters
char (String or B,1) [in]
The input character—or a null byte if no input available—will be placed into the first byte of this parameter with no conversions or termination. A dynamic string (S,0) may also be used, although it doesn't make much sense.
Comments
If the session has received the hangup signal and is running in background pending an input operation to terminate, by default, XCALL TINKEY will not be counted as an input operation. If you want it to be counted as an input operation, and thus terminate the session, specify Hangup Error on Tcki when launching A-Shell.