Format: GOKEY expr
Supported by: Floating Point BASIC 2.2
Conditional branch statement if a key is pressed, BASIC will evaluate the value of expr and branch to it. The value of the key will be assigned to a variable named KEY. If no such line number exists, BASIC will give an ERROR. BASIC will continue execution to the following line if no key is pressed.
This program will wait for a key press and the print the key pressed.