1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-05 12:20:22 +00:00
qb64/internal/help/ON_PEN.txt

25 lines
865 B
Plaintext
Raw Normal View History

2019-04-15 01:15:33 +00:00
'''This page is maintained for historic purposes. The keyword is not supported in QB64.'''
2017-10-10 14:55:21 +00:00
----
2019-04-15 01:15:33 +00:00
[[ON PEN]] enables event handling for the ''light pen''.
{{PageSyntax}}
2019-04-15 01:15:33 +00:00
: [[ON PEN]] [[GOSUB]] {{Parameter|lineLabel}} | {{Parameter|lineNumber}}
2019-04-15 01:15:33 +00:00
{{PageDescription}}
2017-10-10 14:55:21 +00:00
*'''[[Keywords currently not supported by QB64|Not supported in QB64.]]'''
2019-04-15 01:15:33 +00:00
* Any activity on the lightpen will cause the program to branch to the specified {{Parameter|lineLabel}} or {{Parameter|lineNumber}}.
* [[PEN (statement)|PEN]] [[ON]] enables or resumes event trapping.
* [[PEN (statement)|PEN]] [[OFF]] disables event trapping and event logging.
* [[PEN (statement)|PEN]] [[STOP]] temporarily suspends event trapping. When resumed again by [[PEN (statement)|PEN]] [[ON]]), may report events while suspended.
2019-04-15 01:15:33 +00:00
{{PageSeeAlso}}
* [[PEN]] (function), [[PEN (statement)]]
2019-04-15 01:15:33 +00:00
{{PageNavigation}}