RosettaCodeData/Task/Keyboard-input-Keypress-check/Wee-Basic/keyboard-input-keypress-check.basic
2023-07-01 13:44:08 -04:00

7 lines
127 B
Text

let keycode=0
print 1 "Press any key and its key code will appear."
while keycode=0
let keycode=key()
wend
print 1 keycode
end