TXT.INSTAT method

Syntax | TXT.INSTAT TO InStatVar& InstatVar& = TXT.INSTAT

Remarks

Determines whether a keyboard character is ready. The numeric variable receives the keyboard buffer status for the current text window. The value assigned is TRUE (non-zero) if a keyboard character is ready to be retrieved, or FALSE (zero) if not.

TXT.INSTAT does not remove the character from the buffer, so repeated execution will continue to return TRUE until the character is read with TXT.INKEY$, TXT.LINE.INPUT, etc.