qb45advr.hlp (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 QuickSCREEN
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
STRIG - a device I/O function that returns the status of a
        specified joystick trigger
Syntax
  STRIG(n)
    ■ n, a numeric expression that has an integer value between 0 and 7,
      indicates what type of information you want returned by the function:
──────────────────────────────────────────────────────────────────────────────
Argument  Button   Joystick   Value Returned
0         lower    A          -1 = pressed since last STRIG(0) call, 0 = not
1         lower    A          -1 = currently down, 0 = not
2         lower    B          -1 = pressed since last STRIG(2) call, 0 = not
3         lower    B          -1 = currently down, 0 = not
4         upper    A          -1 = pressed since last STRIG(4) call, 0 = not
5         upper    A          -1 = currently down, 0 = not
6         upper    B          -1 = pressed since last STRIG(6) call, 0 = not
7         upper    B          -1 = currently down, 0 = not
──────────────────────────────────────────────────────────────────────────────
See Also  ON STRIG(n)  STRIG statements