Re: Stopping a scipt in a Try Statment
Re: Stopping a scipt in a Try Statment
- Subject: Re: Stopping a scipt in a Try Statment
- From: <email@hidden>
- Date: Sat, 21 Apr 2001 12:24:15 +1200
on 20 Apr 2001 12:43:06 -0700 Greg Strange wrote:
>
>
> 'return'
>
>
>
> or
>
>
>
> 'error number -128'
>
>
>
> &, if it's an applet
>
>
>
> 'tell me to quit'
>
>
MMV on this one. Return doesn't seem to reliably exit a statement unless
>
it's inside a handler not necessarily inside just a try block. I personally
>
use error and then an actual error message. Just using error number -128
>
doesn't say anything to me nor does it to anyone running your script.
<snip>
>
It seems as if they have some True Master,
>
And yet I find no trace of him. He can act, yet I cannot see his form.
>
He has identity but no form.
try
load script
on error
error "I am True Master, do it yourself!"
return 128
end try
__ Andy