qck.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.
STRIG Function
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Returns the status of a joystick trigger; -1 is returned if the condition is
 true, otherwise, 0 is returned; can be used with object-specific events.
 
    STRIG(n%)
 
    ■ n%    Value that specifies a joystick-status condition:
 
            Value  Description
            ═════  ═════════════════════════════════════════════════════════
            0      Lower joystick A trigger was pressed since last STRIG(0)
            1      Lower joystick A trigger is currently pressed
            2      Lower joystick B trigger was pressed since last STRIG(2)
            3      Lower joystick B trigger is currently pressed
            4      Upper joystick A trigger was pressed since last STRIG(4)
            5      Upper joystick A trigger is currently pressed
            6      Upper joystick B trigger was pressed since last STRIG(6)
            7      Upper joystick B trigger is currently pressed
 
 See Also
    Object Events Summary            ON STRIG Statement
    STICK Function                   STRIG Statement