Turns the computer bell on or off and sets the bell attributes.
SET BELL ON | OFF -or- SET BELL TO [cWAVFileName]
- (Default) Turns the bell on.
- Turns the bell off.
- TO cWAVFileName
- Specifies a waveform sound to play when the bell is rung. cWAVFileName can include a path to the waveform sound. Issue SET BELL TO without cWAVFileName to restore the default waveform sound.
SET BELL enables or disables the sounding of the bell during editing when you reach the end of a field or enter invalid data.
The following example plays the Ding.wav.
SET BELL TO (ADDBS(GETENV('windir')))+"MEDIA\DING.WAV" ?? CHR(7)