RosettaCodeData/Task/Keyboard-input-Keypress-check/LiveCode/keyboard-input-keypress-check-2.livecode

5 lines
181 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
on keyDown k
-- do stuff, keycode is held in k
if k is not 46 then pass keyDown // will be trapped if "." is pressed, others will be passed on through the message path
end keyDown