EasyManuals Logo

Tandy 1000 Basic Reference Manual

Default Icon
411 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #321 background imageLoading...
Page #321 background image
Chapter
10
I
BASIC
Keywords
STRIG
Function
STRIG(
number)
Returns the status
of
joystick buttons.
Number
is an integer in the range 0
to
7
to
test the status
of
the
joystick buttons.
Variable
is a numeric variable
to
receive the value returned by
number
.
Each
number
tests
for
a
different status
of
the buttons and re-
turns a numeric value in
variable
regarding the results
of
the
test. The
numbers
and their functions are:
Tests
to
see if Trigger
A1
has been pressed and re-
leased 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 Al.
BASIC returns a
-1
if you are pressing it and a 0 if
not.
Tests to see if Trigger B1 has been pressed and re-
leased 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 B1.
BASIC returns a
-1
if you are pressing it and a 0 if
not.
Tests to see if Trigger A2 has been pressed and re-
leased 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 A2.
BASIC returns a
-1
if you are pressing it and a 0 if
not.
319

Table of Contents

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals