FANDOM


Syntax

CLEARINPUT

Explanation

CLEARINPUT clears all input from the current input stream. For input stream 0 (keyboard), CLEARINPUT discards any keys the user types.

Example

? PRINT [WAITING...] WAIT 200 PR KEY?

WAITING...(User types J.) TRUE

? J

? PR[WAITING...] WAIT 200 CLEARINPUT PR KEY?

WAITING...(User types a key.) FALSE

?