IsSound()
Syntax
Result = IsSound(#Sound)Description
Tests if the specified number is a valid and correctly initialized sound.
Parameters
#Sound The sound to use.
Return value
Nonzero if the specified number is a valid sound, zero otherwise.
Remarks
This function is bulletproof and can be used with any value. This is the correct way to ensure a sound is ready to use.
Example
If IsSound(0) = 0 MessageRequester("Info", "The sound is not valid.") EndIf
See Also
FreeSound()
Supported OS
All