Sounds

Controls sound effects generated by WIL. This feature is off by default as windows generally supplies its own sound effects.

Syntax:

Sounds (request#)

Parameters:

(i) request# 0 to turn sounds off; 1 to turn sounds on.

Returns:

(i) previous Sound setting.

 

If Windows multimedia sound extensions are present, this function turns sounds made by the WIL Interpreter on or off. Specify a request# of 0 to turn sounds off, and a request# of 1 to turn them on.

 

Example:


Sounds(1)
Message("Sounds"," Sounded.")
See Also:

SoundVolume, Beep, PlayMedia, PlayMidi, PlayWaveForm