Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for nice On Error routine
Message
 
À
28/10/1996 01:20:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00011008
Message ID:
00011023
Vues:
41
>>I've seen some good ones but now cannot remember where. Would like to avoid the scutwork of reinventing the wheel. Any pointers or freebies appreciated. Thanks!
>
>this will not help you much, but just note that in VFP it is better practise for each object to handle it's own errors, or at least trap its errors
>and communicate with the main error object (created as a custom class)
>
>Arnon


Yes we could get into a discussion but I won't. Just remember the Error Method has precedence over On Error. You need to look at both & see the differences. BTW, even a single comment in Error() will cause it to fire when an error occurs.

HTH,
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform