The sound component allows your program to emit beeps and whistles. There is a sound component in the system module. To access it, do something like that shown in the following example:
system:sound!StandardSound( SS_ERROR )
StandardSound( standardSound AS integer )
This action plays a "standard sound," one of the standard error or warning beeps.
standardSound integer
Which of the standard sounds to play.
0 SS_ERROR: Error dialog box sound
1 SS_WARNING: Warning beep
2 SS_NOTIFY: Notify beep
3 SS_NO_INPUT: Beep indicating user's input is being ignored
4 SS_KEY_CLICK: "Click" associated with keyboard is press or tap on floating keyboard.
5 SS_ALARM: Standard alarm sound.
Any other value will sound like SS_ERROR.