EasyManua.ls Logo

Tandy 1000 - Page 317

Default Icon
337 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Basic
STRIG(number)
Returns the status of joystick buttons. (L refers to the left joystick
and R to the right joystick.)
Number
is
a
number in the range 0 to
7
to test the status of the
joystick buttons.
0 Tests to see if Trigger L1 has been pressed and released since
the
last
STRIG(0) function was executed. BASIC returns
a
-1
if it has been pressed and
a
0 if not.
Tests to see if you are currently pressing Trigger
L1.
BASIC
returns
a
-1
if you are pressing it and a 0 if not.
Tests to see if Trigger R1 has been pressed and released since
the
last
STRIG(2) function was executed. BASIC returns
a
-1
if it has been pressed and
a
0
if not.
Tests to see if you are currently pressing Trigger R1. BASIC
returns a
-1
if you are pressing it and
a
0 if not.
Tests to see if Trigger L2 has been pressed and released since
the last STRIG(4) function was executed. BASIC returns
a
-1
if it has been pressed and
a
0 if not.
Tests to see if you are currently pressing Trigger
L2.
BASIC
returns
a
-1
if you are pressing it and
a
0
if not.
Tests to see if Trigger R2 has been pressed and released since
the
last
STRIG(6) function was executed. BASIC returns
a
-1
if it has been pressed and
a
0 if not.
Tests to see if you are currently pressing Trigger R2. BASIC
returns
a
-1
if you are pressing it and
a
0
if
not.
A
=
STRIG(0)
2
=
STRIG(4)
1
2
3
4
5
6
7
STRIG(number)
action
Turns on, turns off, or temporarily halts joystick trapping.
STRIG
ON
enables joystick trapping.
STRIG
OFF
disables joystick trapping.
STRIG STOP temporarily halts joystick trapping.
66
Tandy
1000

Table of Contents

Other manuals for Tandy 1000

Related product manuals