GETX

xcall GETX, char

GETX.SBR 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".

char may be a floating point variable (in which case the ASCII value is returned), or else a binary or string variable (in which case the raw input character will be returned).