Problen with goto/try statements

David Burgun dburgun at dsl.pipex.com
Sun Apr 17 07:09:54 EDT 2005


Hi,

I am trying to catch an error situation like so:

try
goto stack myStack
catch myErrorText
beep
end try

But I never get a beep? Is this correct behaviour? If the Stack/File 
myStack does not exist, surely either an IDE or error should be 
generated?

I can't seem to find a way to check if a file exists? Is there one, 
cos I could just put an if exists(file myStack) around the goto.

Thanks in advance
Dave


More information about the use-livecode mailing list