Difference between revisions of "ON STRIG (n)"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
imported>Clippy
m
Line 2: Line 2:
  
  
 +
''Syntax:'' ON STRIG(n) GOSUB {linenumber|linelabel}
  
'''See:''' [[STRIG (statements)]]
+
* 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:''
  
==Navigation:==
+
* [[STRIG (statements)]]
  
[[Keyword_Reference_-_Alphabetical|Go to Keyword Reference - Alphabetical]]
+
* [[STICK]]
  
[[Keyword Reference - By usage|Go to Keyword Reference - By usage]]
+
 
 +
{{PageNavigation}}

Revision as of 07:44, 16 October 2010

The ON STRIG(n) statement is an event procedure that directs program flow upon the press of a specified joystick button.


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:



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page