But is it not true that the combination of Ischarwaiting and Inkey also works ?
If Ischarwaiting is true, then there is a char in the buffer, so Inkey gets the char. If its 0 it still gets interpreted properly. There is no case I can see where inkey can falsely get a zero in this construction.
[code:1:c57f0d1d45]
If Ischarwaiting() > 0 then
bk = inkey()
...
end if
[/code:1:c57f0d1d45]
↧