RosettaCodeData/Task/Keyboard-input-Keypress-check/Wee-Basic/keyboard-input-keypress-che...

8 lines
127 B
Plaintext

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