Need an example of how to use "try" and "catch"
Jim Hurley
jhurley0305 at sbcglobal.net
Thu Mar 22 12:22:49 EDT 2012
Bob,
Yes that would be fine, except that I get a compilation error at the line:
catch theError, theNum
RR says: (try: not a command), char 7
Jim
> Bob Sneidar wrote:
> try
> put "foo" into myVar
> put the value of myVarr
> catch theError, theNum
> -- breakpoint
> answer theNum & cr & line1 of theError as sheet
> exit to top
> end try
>
> Is that what you mean?
>
> Bob
>
More information about the use-livecode
mailing list