EasyManua.ls Logo

Tandy 1000 - Page 315

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
Duration
is an integer in the range
1
to 65535, specifying the dura-
tion in clock ticks. Clock ticks occur 18.2 times per second.
Volume
is an integer in the range
0
to 15, where
0
is the lowest
volume and 15 is the highest volume. Default
=
8.
Voice
is
an integer in the range
0
to
2.
Default
=
0.
SOUND ON enables the external speaker that supports multivoice
sounds using the PLAY or SOUND statements.
SOUND
OFF
disables the external speaker
See also BEEP.
SOUND
20,
500,6
SPACE$(number)
Returns a string
of
number
spaces.
Number
must be in the range
0
to 255.
PRINT "COST" SPACE$(4) "QUANTITY"
SPACE$(9) "TOTAL"
SPC(number)
Prints
number
blanks.
Number
is in the range
0
to 255.
PRINT "HELLO" SPC
(1
5)
"THERE"
SQR(number)
Returns the square root of
number. Number
must be greater than
zero.
PRINT SQR(155.7)
64
Tandy
1000

Table of Contents

Other manuals for Tandy 1000

Related product manuals