Keyboard input/Flush the keyboard buffer

From Rosetta Code
Revision as of 23:43, 7 October 2010 by rosettacode>Markhobley (Initial content)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Keyboard input/Flush the keyboard buffer is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

Flush the keyboard buffer.

BASIC

ZX Spectrum BASIC

10 IF INKEY$ <> "" THEN GOTO 10