beep

Examples


The beep statement generates sounds used to attract the user’s attention.

Syntax

beep sound_type

Parameters

sound_type – The constant specifying the sound to use. Use one of the following constants:

Comments

For Windows, the sounds that correspond to the three sound constants are set up in the Sounds control panel. The following table lists the sound constants and the corresponding event in the Sounds control panel.

[spacer]

Constant

Windows event

ERRORSOUND

Default sound

WARNSOUND

Question

INFOSOUND

Exclamation


If your computer doesn’t have a sound card, you will get the default beep, regardless of the sound constant used.



Documentation Feedback