file not found
Geoff Canyon
gcanyon at inspiredlogic.com
Wed Jan 23 11:01:00 EST 2002
At 10:51 AM +0100 1/23/02, mazzapaolo at liber wrote:
>I have a line like this:
>
>set the fileName of image "myImage" to "image.gif"
>
>If the file exists it works fine.
>If the file does not exists, the image "myImage" gets blank, the result
>is empty, and I do not get any error-message.
>How can I get a beep when Rev can not find the file?
>Thank you for your help,
Try:
if there is a file "image.gif" then
set the fileName of image "myImage" to "image.gif"
end if
regards,
Geoff
More information about the use-livecode
mailing list