Keyboard input/Flush the keyboard buffer: Difference between revisions
Content deleted Content added
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}}==
|