qb45advr.hlp (
Topic list)
ON STRIG(n) Statement QuickSCREEN
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
ON STRIG(n) - Event trapping statement that specifies a subroutine to
branch to when joystick trigger n is pressed
Syntax
ON STRIG(n) GOSUB {linelabel | linenumber}
■ n, an integer expression, is the trigger number:
0 = lower button, first joystick 2 = lower button, second joystick
4 = upper button, first joystick 6 = upper button, second joystick
■ linelabel or linenumber is the first line of the event-handling
subroutine to branch to when the trigger is pressed
See Also ◄STRIG ON►