Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for nice On Error routine
Message
 
To
28/10/1996 01:20:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00011008
Message ID:
00011023
Views:
35
>>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/
Previous
Reply
Map
View

Click here to load this message in the networking platform