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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement