beep

beep();

The beep method of the Application class plays the .wav file associated with the Default Beep option (specified in the Sound Events list box on the Sounds sheet of the Sounds and Multimedia Properties dialog accessed by using the Sounds and Multimedia program item of the standard Windows Control Panel) of the current locale.

Use this method in LockException handlers rather than the Global::beep method, to avoid Object not available exceptions occurring when global is locked.

Use this method to sound the beep at the workstation of the user who invoked the method.

The beep alert is sounded on a workstation regardless of whether a sound card is installed.

The following example shows the use of the beep method.

clock1_alarmSound(pClock: Clock) updating;
vars
    count : Integer;
begin
    foreach count in 1 to 10 do
        app.beep;
        app.doWindowEvents(100);
    endforeach;
end;