Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why return .F. from Error Event?
Message
From
26/04/2001 12:37:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00499843
Message ID:
00500212
Views:
30
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform