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”

 

 

See Also: Keyboard Input


Language Reference  Table Of Contents