Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why return .F. from Error Event?
Message
 
To
25/04/2001 16:43:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00499843
Message ID:
00500147
Views:
17
This message has been marked as a message which has helped to the initial question of the thread.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform