

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.




 
: "loop"
if "KEY_PRESSED" != 0 then "#store"
* "Last key pressed: &storedKey&"
goto "loop"
 
: "#store"
set "storedKey" to "KEY_PRESSED"
goto "#return"
 