Beep Statement

Description

Sounds a tone through the computer's speaker.

Syntax

Beep

Remarks

The frequency and duration of the beep depends on hardware, which may vary among computers.

Example

This example uses the Beep statement to sound three consecutive tones through the computer's speaker.


For I = 1 to 3    ' Loop 3 times.
    Beep    ' Sound a tone.
Next I