Need an example of how to use "try" and "catch"

Jim Hurley jhurley0305 at sbcglobal.net
Fri Mar 23 13:08:29 EDT 2012


Mark,

Yes! I agree with you about "throw". 

Do you,  or dose anyone, have an example that shows the use of the "throw" command in conjunction with the "try-catch" structure?

Jim


> 
> Message: 4
> Date: Thu, 22 Mar 2012 22:33:42 -0700
> From: Mark Wieder <mwieder at ahsoftware.net>
> To: use-livecode at lists.runrev.com
> Subject: Re: Need an example of how to use "try" and "catch"
> Message-ID: <33780499187.20120322223342 at ahsoftware.net>
> Content-Type: text/plain; charset=us-ascii
> 
> Jacque-
> 
> Thursday, March 22, 2012, 10:19:59 PM, you wrote:
> 
>>> P.S. There really ought to be an illustration of the try-catch syntax
>>> in the dictionary.
> 
>> I just looked, and I'm amazed there isn't. Myabe you could add a user note.
> 
> Yeah - the throw command should be mentioned there as well.
> 
> -- 
> -Mark Wieder
> mwieder at ahsoftware.net
> 





More information about the use-livecode mailing list