bas7qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
STICK Function
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
STICK(n%)
 
    ■ n%   A numeric expression whose value is an unsigned integer
           from 0 to 3 that indicates which joystick coordinate
           value to return:
                   0 indicates the joystick A x coordinate.
                   1 indicates the joystick A y coordinate.
                   2 indicates the joystick B x coordinate.
                   3 indicates the joystick B y coordinate.
 
    ■ The STICK function is not available in OS/2 protected mode.
 
Returns
    The x or y coordinate of joystick A or B. Joystick coordinates range
    from 1 to 200 in both directions.
 
See Also    ON STRIG    STRIG Function    STRIG Statements