KEY Statements (Event Trapping)
◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
KEY(n%) ON
KEY(n%) OFF
KEY(n%) STOP
■ n% An integer expression; the number of a function
key, a direction key, or a user-defined key.
■ KEY(n%) ON Enables function key, direction key, or user-defined
key event trapping.
■ KEY(n%) OFF Disables the event trap. Even if an event takes place,
it is not remembered.
■ KEY(n%) STOP Suspends the event trap. If you press the specified
key, your action is remembered and trapped as soon as
a KEY ON statement is executed.
See Also ◄KEY (Assignment)► ◄ON KEY►