Difference between revisions of "ON STRIG (n)"

From QB64 Wiki
Jump to navigation Jump to search
(page moved to ON STRIG(n))
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The '''ON STRIG(n)''' statement is an event procedure that directs program flow upon the press of a specified joystick button.
Page has moved to [[ON STRIG(n)]]
''Syntax:'' ON STRIG(n) GOSUB {linenumber|linelabel}
* The value of ''n'' can be a number from 0 to 3 only as it can only monitor 2 joystick buttons and 2 joysticks.
* The statement sends the procedure to a procedure of line number when a button event occurs.
''See also:''
* [[STRIG (statements)]]
* [[STICK]]

Latest revision as of 02:30, 6 November 2010

Page has moved to ON STRIG(n)