Need an example of how to use "try" and "catch"
Bob Sneidar
bobs at twft.com
Thu Mar 22 12:59:40 EDT 2012
Whoops maybe the second argument is not valid.
On Mar 22, 2012, at 9:22 AM, Jim Hurley wrote:
> 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
>>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list