RosettaCodeData/Task/Keyboard-input-Keypress-check/LiveCode/keyboard-input-keypress-check-2.livecode
2016-12-05 23:44:36 +01:00

4 lines
181 B
Text

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