Please enable JavaScript to view this site.

A-Shell Reference

Reviewed April 2024

xcall GETX, char

GETX inputs a single character from the keyboard, with function key translation support. The function key translation table will be any PFK loaded into user memory, or the LIB:<tdvnam>.IFX file. The routine will automatically set NOECHO mode (equivalent to XCALL NOECHO) and leave the terminal in that mode. It will not display the input character. It is exactly equivalent to XCALL ACCEPN, Char, "IFX".  

Parameters

char  (F6, B1, or S1)  [out]

If char is passed as a floating point, it will be returned with the ASCII value of the input character. Otherwise, for B1 and S1 parameters, the raw input character is returned.