KEYDOWN
Return the decimal ASCII value of the PS2 keyboard key that is currently held down or zero if no key is down.
Note that this function will only work with the attached PS2 keyboard and the character will still be entered into the input keyboard buffer (including repeated characters if the key is held down long enough).
KEYDOWN clears the keyboard buffer.
See also:
INKEY$
INPUT (from keyboard)
LINE INPUT (from keyboard)
ON KEY
Leave a Reply