SOUND EXIST This command will return an integer value of one if the specified Sound Number exists, otherwise zero will be returned.
Syntax
    Return Integer=SOUND EXIST(Sound Number)
Parameters
    Sound Number
Integer The sound number
Returns
The command will return an integer value of one if the specified Sound Number exists, otherwise zero will be returned
Example Code
    cls

    load sound "man.wav",1

    play sound 1

    print"is there a sound number one "

    if sound exist(1)=1

    print "YES"

    else

    print "no"

    endif

    wait 1000*8

    stop sound 1

    do

    loop

    end
See also
SOUND Commands Menu Index