Anonymous user
Keyboard input/Flush the keyboard buffer: Difference between revisions
Keyboard input/Flush the keyboard buffer (view source)
Revision as of 05:32, 17 April 2020
, 4 years ago→{{header|BBC BASIC}}
(add task to ARM64 assembly Raspberry Pi) |
|||
Line 803:
Strictly speaking *FX 15,1 is an Operating System command, but it is emulated in BBC BASIC for Windows. Alternatively the keyboard buffer may be flushed as follows:
<lang bbcbasic> REPEAT UNTIL INKEY(0)=-1</lang>
or:
<lang bbcbasic> REPEAT UNTIL INKEY$(0)=""</lang>
=={{header|C}}==
|