Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning value from a Method
Message
 
 
To
05/02/2007 18:09:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01192623
Message ID:
01192625
Views:
14
>Question: can I return a value from a Method? If so, how would I reference the returned value?
>
>Thanks, Randy

Sure! Methods are just like functions.

lcValue = SomeObject.SomeMethod()

Inside the method:

RETURN "Return Value"
Previous
Reply
Map
View

Click here to load this message in the networking platform