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 #265 background imageLoading...
Page #265 background image
Chapter
10
I
BASIC Keywords
ML
MS
X
variable;
sets "music legato"; each note plays the full du-
ration as set by the
L
option.
sets "music staccato"; each note plays
3/4
of
the
duration as set by the
L
option.
executes
a
substring. The
X
command lets you
execute a second substring from
a
string, much
like GOSUB. You can have one string execute
another, which executes a third, and
so
on.
Vari-
able
is a string variable in your program that
contains the substring you want to execute.
Vari-
able
may contain an
X
command to execute an-
other substring. The semicolon after the variable
name is required.
sets the volume.
n
must be in the range 0
to
15.
You must execute a SOUND
ON
statement to use
this option. If you omit volume, BASIC uses
8.
With the
0,
N,
P,
and T commands,
n
may also be a numeric
variable in your BASIC program.
Do
not space between the com-
mand and the
n
or
between the command and the
variable.
You
must include a semicolon after the variable name.
The lowest note the multi-voice sound chip can produce is Note
A
of
Octave 0, which is 110Hz. If you try to play a lower note,
BASIC does not return an error. Instead, BASIC plays Note
A
of
Octave 0.
Vn
Ex
ample
1 0 PLAY "C4F. C8F8. C16F8. G16A2F2"
20 INPUT "CAN YOU NAME THAT TUNE
";A$
40 IF
A$
=
"THE EYES OF TEXAS" THEN GOTO 50 ELSE
50 PRINT "THAT'S RIGHT!"
PRINT "TRY AGAIN": GOTO 10
263

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