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.
ON STRIG Statement
  ◄Summary►  ◄Details►  ◄Example►                ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
 Branches to the specified routine when the joystick trigger is pressed;
 can be used with object-specific events.
 
    ON STRIG(n%) GOSUB {linenumber | linelabel}
 
    ■ n%               Value that specifies a joystick trigger:
 
                       Value    Description
                       ═════    ════════════════════════════════════════════
                       0        Lower trigger, joystick A
                       2        Lower trigger, joystick B
                       4        Upper trigger, joystick A
                       6        Upper trigger, joystick B
 
    ■ linenumber      First line of an event-handling routine to execute
      linelabel       when joystick trigger n% is pressed
 
 See Also
    ◄Error/Event Trapping Summary►     ◄Object Events Summary►
    ◄STICK Function►                   ◄STRIG Function►
    ◄STRIG Statement►