GRAPHIC INSTAT statement  

Purpose

Determines whether a keyboard character is ready.

Syntax

GRAPHIC INSTAT TO NumericVar

Function Form:

InstatVar& = GRAPHIC(INSTAT)

Remarks

The numeric variable receives the keyboard buffer status for the selected graphic target.  The value assigned is TRUE (non-zero) if a keyboard character is ready to be retrieved, or FALSE (zero) if not.

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

See also

GRAPHIC INKEY$, GRAPHIC INPUT, GRAPHIC INPUT FLUSH, GRAPHIC LINE INPUT, GRAPHIC WAITKEY$