1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-03 08:51:22 +00:00
QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS. https://qb64.com
Go to file
Luke Ceddia 801ae6ae60 Added a _KEYCLEAR [buffer&] command to clear any characters in input buffers.
Without a parameter, it clears all buffers. A numeric parameter will
clear only a specific buffer: 1 = INKEY$ buffer (and other traditional
QB input commands), 2 = _KEYHIT buffer, 3 = INP(&H60) buffer. The last
one is not actually cleared, but we pretend we've read all the data from
it.

To ensure no stray characters, use this command immediately before the
code you wish to sanitise. You never know when the user might bang on
the keyboard, and this also helps to avoid stray key release values
persisting in the _KEYHIT buffer.
2014-09-27 03:12:54 +10:00
internal Added a _KEYCLEAR [buffer&] command to clear any characters in input buffers. 2014-09-27 03:12:54 +10:00
LICENSE Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0). 2014-09-22 08:19:03 -04:00
programs Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0). 2014-09-22 08:19:03 -04:00
source Added a _KEYCLEAR [buffer&] command to clear any characters in input buffers. 2014-09-27 03:12:54 +10:00
cyberbit.ttf Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0). 2014-09-22 08:19:03 -04:00
qb64_start_osx.command Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0). 2014-09-22 08:19:03 -04:00
setup_lnx.sh Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0). 2014-09-22 08:19:03 -04:00
setup_osx.command Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0). 2014-09-22 08:19:03 -04:00
setup_win.bat Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0). 2014-09-22 08:19:03 -04:00