sleep w/inkey, certain keys cause processing to pause
John Esak
john at valar.com
Wed Apr 13 21:30:13 PDT 2005
I see you are talking about INKEY. I don't know why you decided to use this
function, but it is my understanding that it is extremely CPU dependent.
Meaning, you will bring your system to a crawl while using it. That is why
WAITKEY was invneted... Again, it is my understanding that INKEY only has
very limited usage possibilities because it is so tightly CPU bound. I would
avoid it... but perhaps, Ken can clarify further.
John
-----Original Message-----
From: filepro-list-bounces at lists.celestial.com
[mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Filepro List
Sent: Sunday, April 10, 2005 11:01 PM
To: filepro-list at lists.celestial.com
Subject: sleep w/inkey, certain keys cause processing to pause
I wrote in about breaking out of sleep command with a keystroke. The inkey
works great, Thanks. The problem I found using inkey is that some keys
actually pause the processing, until another key is pressed.
I know these keys pause the processing (caps lock, screen lock, pause,
numlock, F11, F12,ctrl&", ctrl&:). Some of these are odd and not likely
pressed by accident but (numlock, caps lock) could be a problem.
Is there any way to lock out the keys causing the pause?
Mike Fedko
More information about the Filepro-list
mailing list