Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why return .F. from Error Event?
Message
De
26/04/2001 12:37:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00499843
Message ID:
00500212
Vues:
22
>David,
>
>As well as what Vlad has said, this practice is helpfull if one ever wants to implement a chain of responsibility for errors. In the chain the object that received the error would start the chain and then each object in the containership would be passed the error until an object handled it. The return .F. is signifying that the error event did NOT handle the error situation, so any chain would then pass the problem on to the next object. If any error event returns .T. the process ends as the error has been handled.
>
>JimB

Thanks.

I suspected that might be the case here - I just wanted to be sure there wasn't some subtle intrinsic VFP behavior that was being triggered.
"The Iron Fish: The water is cold...but the fish don't mind"
...Jay Jenks, boyhood chum
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform