Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_CONSOLEINPUT is blocking
#1
I can't find it in the documentation, but _CONSOLEINPUT seems blocking (waiting for a key) after the first call.

Code: (Select All)
$Console:Only
Do
  x%% = _ConsoleInput
  Print x%%;
Loop
Will only show one 0 and then waits for a keypress...
Is there any other way to check non-blocking for a key in a $CONSOLE window?
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience
Reply


Messages In This Thread
_CONSOLEINPUT is blocking - by mdijkens - 9 hours ago



Users browsing this thread: 8 Guest(s)