qb45advr.hlp (Topic list)
STICK Function Programming Example
  QuickSCREEN      Details     Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
STICK Function Programming Example
 
The following program prints the coordinates of joystick B:
 
'*** Programming example for STICK function ***
' Do not attempt to run this program unless a joystick is installed
TEMP = STICK(0)
PRINT STICK(2), STICK(3)