READS A KEY OF THE KEYBOARD
ACTION
The system variable INKEY$ returns the pressed key of the keyboard.
Remark: the keyword INKEY$ ends by '$' because the returned value is a string.
SYNTAX:
INKEY$ in an expression
USE ERROR EXAMPLE
dim a$
label test_keyboard
rem wait for a key ...
test_keyboard:
a$=inkey$
if a$="" then goto test_keyboard
print "Key is "+a$
INKEY$
INKEY$
SEE ALSO
INPUT
SCANCODE