KBHIT

Action

Checks the console for keyboard input.

 

Syntax

KBHIT ()

 

Returns

<>0

Keystroke waiting in keyboard buffer

0

No keystroke in keyboard buffer.

 

Example

IF KbHit()

   Get $x   ; get the keystroke from the buffer

ENDIF