Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check for Exclusive Open?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00741115
Message ID:
00741545
Vues:
27
>I just copied a generic MessageBox() I had. Q&D.

Nothing wrong with Q&D. :-) The point I should have made, instead of making rude noises, was that TRY...CATCH allows you to target your error handling even more specifically than ON ERROR, or even the Error method, does.

Where ON ERROR can be set at any place in your code to call a specific error routine, having a lot of different ON ERRORs leads to less-readable code, IMO. This puts the error handling where it belongs, with the code being handled. That's why I reacted badly to the very-generic catch code you had. Sorry about that. :-)
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform