

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.




K = PEEK(-16384) : IF K > 127 THEN POKE -16368,0 : K$ = CHR$(K)