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

5 lines
181 B
Plaintext

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