INKEY()

Returns the character code of any key waiting in the keyboard buffer (and removes it), or zero if there is no key waiting.

IF INKEY()=’Z’ THEN PRINT “Zed”

Siehe auch: Keyboard Input

Referenz - Startseite