Keyboard input/Flush the keyboard buffer: Difference between revisions
Content added Content deleted
(Initial content) |
(→{{header|PureBasic}}: Added PureBasic) |
||
Line 10: | Line 10: | ||
[[Category:Keyboard Input]] |
[[Category:Keyboard Input]] |
||
=={{header|PureBasic}}== |
|||
<lang PureBasic>While Inkey()<>"": Wend </lang> |
Revision as of 16:13, 8 October 2010
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
PureBasic
<lang PureBasic>While Inkey()<>"": Wend </lang>