Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to handle errors
Message
From
27/11/2001 14:23:19
 
 
To
27/11/2001 13:21:35
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00586384
Message ID:
00586530
Views:
16
I never even thought about adding a property to the class. Doh! It's taking me a little while to get my head around this new way of doing things. :)

Thanks to everyone for the suggestions. Since they're all pretty similar, I'll just CC this thank you.

As to the changes to the "old way", yeah, I know to save the error handler. I was just trying to keep it simple.

Thanks,

Michelle


>First, I don't think there is necessarily anything wrong with the "old way". Except see changes below (you may already do this in "real life").
>
>Another way to do it is to have an error flag property in your application object. Or, you can have an error manager object (a private variable, created in your main program). The error handler would set properties in these objects. Again, see changes even further down.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform