Beep

System function.

The Beep function plays a tone through the PC speaker.

Syntax

Beep(<frequency>)

Parameter

<frequency>, numeric (constant or variable).
The frequency of the tone to be played.
Under Windows 98/ME, this number is ignored, and a system tone is played instead.

Examples

 

Beep(262)

or

a=262

Beep(a)