If SoundCard() |
IF SoundCard() checks for a soundcard on one of the serial ports on the user's system. If a soundcard is detected, a value of true is returned.
For example:
IF SOUNDCARD()
FILE: "sound.000", FROM="c:\sound\sound.drv"
ELSE
FILE: "nosound.000", FROM="c:\sound\nosound.drv"
ENDIF
The file Sound.drv is installed if a soundcard is detected. Otherwise, it installs the file Nosound.drv.