Hello people,
I'm working on code that needs a way of escaping a loop by pressing
the escape key. I've noticed that testing for the escape key by using
inkey takes up a lot of extra runtime. if i leave the inkey test out
the loop runs about 4 to 6 times faster. i've searched the forum
for some info on this and found some references to time-slice
problems in windows VDM sessions. the offered solutions don't seem
to have any bearing on real DOS sessions (my compiled code does
NOT run in Windows). does anybody know how i can speed up the use
of inkey, or is there another way to escape a running loop (elegantly)
without slowing things down ?
Thanks for anything on this.
Tom
I'm working on code that needs a way of escaping a loop by pressing
the escape key. I've noticed that testing for the escape key by using
inkey takes up a lot of extra runtime. if i leave the inkey test out
the loop runs about 4 to 6 times faster. i've searched the forum
for some info on this and found some references to time-slice
problems in windows VDM sessions. the offered solutions don't seem
to have any bearing on real DOS sessions (my compiled code does
NOT run in Windows). does anybody know how i can speed up the use
of inkey, or is there another way to escape a running loop (elegantly)
without slowing things down ?
Thanks for anything on this.
Tom
Comment