Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1689

inkey counter anomaly?

$
0
0
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?

Viewing all articles
Browse latest Browse all 1689

Trending Articles