[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
STRIG Status of Joystick Buttons Function
STRIG(n)
Returns status information about the joystick buttons.
n A numeric expression in the range 0 to 7. Determines the
kind of information returned, as follows:
0 Returns -1 if button 1 on A has been pressed since the
most recent STRIG(0) call; otherwise, returns 0.
1 Returns -1 if button 1 on A is currently pressed;
otherwise returns 0.
2 Returns -1 if button 1 on B has been pressed since the
most recent STRIG(2) call; otherwise returns 0.
3 Returns -1 if button 1 on B is currently pressed;
otherwise returns 0.
4 Returns -1 if button 2 on A has been pressed since the
most recent STRIG(4) call; otherwise, returns 0.
5 Returns -1 if button 2 on A is currently pressed;
otherwise returns 0.
6 Returns -1 if button 2 on B has been pressed since the
most recent STRIG(6) call; otherwise returns 0.
7 Returns -1 if button 2 on B is currently pressed;
otherwise returns 0.
-------------------------------------------------------------------------
Notes: A STRIG ON statement must be executed before the STRIG(n)
function can be used.
See Also:
STICK
STRIG (Statement)
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson