Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I return two or more values?
Message
From
04/03/1997 18:37:41
 
 
To
04/03/1997 10:59:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00022797
Message ID:
00022858
Views:
42
>Thanks, I understand what you mean, but how do I do if I want to use a fuction or procedure.

A function can return one and only one value. Because it's function. A procedure can't return any value.

You can define variables (array) in the calling program and modify them in the called program. But the best way to do it, as Dave already said, is to use an object. You can return the object (if you create it in the called program) or you can refer directly to its properties (if you create it in the calling program).

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform