PDA

Click to See Complete Forum and Search --> : Waiting for a key


Evan
Nov 1st, 1999, 05:45 AM
How can you ask the computer to ALLWAYS wait for a key.. But still funtion.. like, this key ( the 4 arrows) are how the Person moves around.

Im think of a Wend Command But that will freeze it up..
What could I do?

Thankyou,
Evan

PhilipG
Nov 1st, 1999, 07:47 AM
Why not use the keypress event?

Otherwise, use something like this:

While 'No keypress'
DoEvents()

The key is using the function DoEvents() while its waiting. Otherwise just use the keypress event for more efficient processing.

Phil