

Determine if a key has been pressed and store this in a variable.

If no key has been pressed, the program should continue without waiting.




integer key
key = get_key() -- if key was not pressed get_key() returns -1