Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

inkey counter anomaly?

Jan
1,189
25
I use the following code within a btm - however it can be executed stand alone too of course:

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?
 
Back
Top