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 #266 background imageLoading...
Page #266 background image
Chapter
10
I
BASIC
Keywords
PLAY
Function
PLAY
(num
ber)
Returns the number of notes currently in the background music
queue.
Number
is
a
dummy argument when SOUND is
OFF.
If you exe-
cute a SOUND
ON,
then
number
may be one of the following:
0
1
2
returns the number of notes left to play on voice
channel 0.
returns the number of notes left to play on voice
channel
1.
returns the number of notes left
to
play on voice
channel 2.
If you specify a number other than 0-2, BASIC assumes 0.
The PLAY function returns a
0
when the program
is
running in
music foreground mode.
See also SOUND
Sample
Program
10
PLAY
"ME ABCDEFG"
20
IF
PLAY
(0)
=
4
GOTO
40
30
GOTO
20
40
PLAY
"GFEDCBA"
Line 10 sends notes to the music buffer. When the number
of
notes is less than 4. Line 40 sends more notes to the buffer.
264

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