Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check for Exclusive Open?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00741115
Message ID:
00741545
Views:
26
>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform