[<<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 3. Determines the
                kind of information returned, as follows:

                0   Returns -1 if button A has been pressed since the most
                    recent STRIG(0) call; otherwise, returns 0.
                1   Returns -1 if button A is currently pressed; otherwise
                    returns 0.
                2   Returns -1 if button B has been pressed since the most
                    recent STRIG(2) call; otherwise returns 0.
                3   Returns -1 if button 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