Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Try within Try?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01400148
Message ID:
01400375
Vues:
43
I don't personally use nested TRY/CATCH so this is from what I saw Ken L do in a session years ago. With Try/Catch you can THROW a exception object which contains the error info. This can be consumed within the CATCH clause. With nested Try/Catch, you may need to pass that object to the next nevel up so it can be seen by the next level.

There is an explanation in the help on this

If anybody has real experience with this, please chime in.

Bob

>>You can nest these, but it can get a little tricky because you have to pass the exception object along the chain.
>>
>Why do you need to pass it?
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform