Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Try...catch...finally
Message
 
To
26/10/2002 16:19:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00715709
Message ID:
00715809
Views:
16
>>> Will CATCH able to "catch" the error if OLE ERROR raised?
>>Yes, it does.
>
>I have another question about the TRY. What is the FINALLY for? Specifically, is there a difference between placing commands after FINALLY, or completely outside the entire TRY structure?
>
>Hilmar.

Hi Hilmar,

I was wondering about that, too. You can find some discussion about it under a recent thread on microsoft.public.fox.programmer.exchange. Basically, as I understand it, the FINALLY steps are performed after the CATCH steps (as well as the non-error case). Code placed after the ENDTRY, i.e. outside the TRY ... ENDTRY block, is not executed for the CATCH cases.

Mike
Montage

"Free at last..."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform