Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why TRY...CATCH…FINALLY not support RETRY ?
Message
De
12/08/2003 06:40:11
 
 
À
11/08/2003 17:30:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00818569
Message ID:
00819290
Vues:
12
Hi Bob,

>The difference is my code gives you what you WANT now. If you know the possible error is resolvable, when not check for that BEFORE trying your try.

1) For optimization.

If i have one error it happens 5% of times, i can test it before.
But if the error it happens only one time on a routine
called 10000000 times, and test it before it demands a meaningful time,
i can use error handling for resolve and restart the program
( classic is CDX corruption ).

2) One error is:
- resolvable ( see 1) )
- not resolvable but previewed
( kill any module where this error can to interfere )
- not resolvable and not previewed ( kill the application )

3) RETRY exist on VFP old Error handling, and i use it.

Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform