If I want a procedure to run every time a specific key is pressed, I would use the code:
Application.OnKey("Key",Procedure)
My problem is that if "Key" is pressed while a Sub is running, it won't be processed to after the Sub completes. What I would like to do is have a Sub that is running react to a keystroke. For instance, in the classic game Nibbles, have a block move up until the left key is pressed, which would cause the block to move to the left, etc. Any ideas?
-Mike
-Mike
Application.OnKey("Key",Procedure)
My problem is that if "Key" is pressed while a Sub is running, it won't be processed to after the Sub completes. What I would like to do is have a Sub that is running react to a keystroke. For instance, in the classic game Nibbles, have a block move up until the left key is pressed, which would cause the block to move to the left, etc. Any ideas?
-Mike
-Mike