Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Try...catch...finally
Message
 
À
26/10/2002 16:19:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00715709
Message ID:
00715809
Vues:
17
>>> 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..."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform