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 10:59:03
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00022797
Message ID:
00022809
Views:
52
>>Any variable declared in 'parent' method scoped to 'child' method, so you can 'return' as many variables as you want. But try first to use properties: it's the OOP way.
>
>it's easier to add an array property to your class, store the two choices there and access them by doing
>
>  oReturned = createobject('myclass')
>  oReturned.show
>  myAnswer[1] = oReturned.SaveValue[1]
>  myAnswer[2] = oReturned.SaveValue[2]
>  release oReturned
>
Thanks, I understand what you mean, but how do I do if I want to use a fuction or procedure.

>are you using the multi-select option in a list?

NO
Best regards
Niklas Fjellman

E-mail: niklas.fjellman@adb-kontoret.goteborg.se
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform