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 #320 background imageLoading...
Page #320 background image
Chapter
10
I
BASIC
Ke.ywords
STRIG
Stat
emen
t
STRIG
ON
STRIG
OFF
Enables the STRIG function.
STRIG
ON
STRIG
ON
lets you execute STRIG function statements to return
the status of the joystick buttons. If you attempt to execute
a
STRIG function before you execute a STRIG
ON
statement,
BASIC issues an “Illegal function call” error.
STRIG
OFF
If you execute a STRIG OFF statement, you can not execute
STRIG function. Executing
a
STRIG function after a STRIG
OFF statement results in
an
“Illegal function call” error.
When you load BASIC, the default is STRIG OFF and you cannot
execute STRIG/Function statements.
You cannot place a STRIG function in a subroutine that you
branch to as a result of an
ON
STRIGO GOSUB statement.
BASIC does not keep track of which button was pressed after the
ON
STRIG() GOSUB statement is executed. If you wish
to
trap
both buttons and perform a different procedure for each button,
you must execute
a
STRIG/Trap for each button, and you must
branch to different subroutines with different
ON
STRIGO
GO-
SUB statements.
See STRIG Function, STRIG/Trap, and
ON
STRIGO GOSUB for
additional information on joystick trapping.
318

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