I use the following code within a btm - however it can be executed stand alone too of course:
Now, If I press 2 times an invalid key - let say "x" and the 2nd time exactly while counter switches from 1 to 0 - the counter stops and shows the following:
I can still continue with a valid input ...
Is that WAD?
Code:
inkey /k"cq" /w5 /T "c": continue; "q": quit ("c" after 5 seconds): %%key
Now, If I press 2 times an invalid key - let say "x" and the 2nd time exactly while counter switches from 1 to 0 - the counter stops and shows the following:
Code:
"c": continue; "q": quit ("c" after 5 seconds): [0] x
I can still continue with a valid input ...
Is that WAD?