Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to return a value from the :: operator
Message
From
22/01/2002 21:10:50
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
How to return a value from the :: operator
Miscellaneous
Thread ID:
00608748
Message ID:
00608748
Views:
53
I have a clase that is the third level in the class hier. I want to skip the processing in the second level class and execute the code in the base class for a particular purpose. However, the class generates a return value to the form.
My code is:

nodefault && SKIP PROCESSING IN CLASS ABOVE
basecust::save && execute base class code.

However basecust::save returns a +1 for success and a -1 for failure and I cant figure out how to get a return value from basecust::save. If I try :
r=basecust::save VFP generates an error. Help.
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Next
Reply
Map
View

Click here to load this message in the networking platform