Basic computer language commands

Basic computer programming language

BEEP Statement

Purpose:

To sound the speaker at 800 Hz (800 cycles per second) for one-quarter of a second.

Syntax:

BEEP

Comments:

BEEP, CTRL-G, and PRINT CHR$(7) have the same effect.

Examples:

2340 IF X>20 THEN BEEP

If X is out of range, the computer beeps.

BASIC commands Main Menu

Index