Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function returning more than one value
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00628208
Message ID:
00628216
Views:
13
Charles,

You can't return more than one value from a function.

You can send parameters by reference and manipulate them in the function.

You can also use a "parameter object" and set it's property values in the function. There's an example over on my website for using a parameter object.

You can a parseable string that contained many values, but then you have to write a lot of client code to decode the string.

>In VFP, how do I create a function that returns more than one return value?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform