Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to handle errors
Message
De
27/11/2001 11:35:39
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00586384
Message ID:
00586393
Vues:
17
Hi Michelle,

It was nice meeting you at GLGDW. Doug Hennig has a good article on VFP error handling on his website, www.stonefield.com

>I'm finally getting to do some real OOP programming and am trying to learn how to do things the "right" way. One of the things that has got me confused is error handling. I just found out that if you put an Error method in an object that it acts like ON ERROR, which is cool. :) But I'm not sure where to go from there.
>
>Once the error method has control, how do I let the code that caused the error know there was a problem? I want the original method to stop processing and return the error to what called it, so somehow it has to know.
>
>I can think of various ways to do it, but they all seem rather kludgy. So I thought I'd ask what the usual way to do it is.
>
>Thanks,
>
>Michelle
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform