RosettaCodeData/Task/Keyboard-input-Keypress-check/Phix/keyboard-input-keypress-check.phix

2 lines
71 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
integer key = get_key() -- if key was not pressed get_key() returns -1