This command will pause the program from running until a key is pressed.
Syntax |
WAIT KEY
Returns |
This command does not return a value.
Description |
To detect for a specific key, please refer to the INKEY$ or SCANCODE commands found in the Input Command Set.
Example Code |
PRINT "press any key to end" WAIT KEY END