ON ... (Event handling)
Events of a given type are not cumulative. For instance, the KEY event simply tells you that one or more characters have been put in the keyboard buffer. The event queue is checked before each line of basic code is executed. Normal execution stops until all events have been processed (including events that were triggered during said processing).
Example:
ON KEY GOSUB Label
Will jump to Label when a key is pressed.
Supported events:
BATTERYLOW
BATTERYOK
FAX
KEY
LIDOPEN
LIDCLOSE
MAIL
MENU
P1 to P4 (Function keys)
PHONEON
PHONEOFF
RING
ZOOM
Siehe auch: System / Other Functions
Referenz - Startseite