Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a method return a value?
Message
From
21/04/2000 09:10:43
 
 
To
20/04/2000 23:52:49
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00362123
Message ID:
00362202
Views:
24
>Type correction:
>
>>For example, outside of the form:
DO FORM yourform NAME oYourForm LINKED
>>ReturnVal = o<b>Your</b>Form.SomeFunkyMethod
oYourForm is an object reference to that instance of your form.

Forgot to mention, that to return a value, you have to add the () at the end of the call.

RetVal = Form.SomeFunkyMethod()
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform