Tandy 1000 Basic Reference Manual page 103

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chapter 10 I
BASIC
Keywords
Statement
BEEP
BEEP ON
BEEP OFF
Produces a sound from the computer's speaker.
BEEP sounds the speaker at 800 Hz for 114 second.
You can use BEEP with the SOUND statement to direct sound
to the computer's internal speaker or an external speaker (such
as a television's speaker) or both.
BEEP ON
:
SOUND ON
d i r e c t s sound t o b o t h
speakers
.
BEEP OFF
:
SOUND OFF
t u r n s off sound t o b o t h
speakers.
BEEP ON
:
SOUND OFF
directs sound to the internal
speaker only.
BEEP
OFF
:
SOUND ON
directs sound to the exter-
nal speaker only.
BASIC starts up with BEEP ON and SOUND OFF
The BEEP statement is the same as typing PRINT CHR$(7).
Example
I F X
>
2 0 T H E N
BEEP
warns the operator with a beep if the variable X is out of range,
that is, greater than 20.
101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents