throw vs the result

Dar Scott dsc at swcp.com
Sat Apr 30 22:53:00 EDT 2005


On Apr 30, 2005, at 4:42 PM, Derek Bump wrote:
> I will tell you what I prefer, put it all into the result.  My reason: 
> I hate the idea that a custom library, or even the Rev IDE, will not 
> allow my script to continue because it ran into an error doing 
> something.

I understand.

Some folks like the throw, so they don't have to bubble error results 
all the way up a series of calls, especially with functions.  They 
prefer to use a try-catch at the top.

Thanks, so much for your comments.

Dar




More information about the use-livecode mailing list