Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I return two or more values?
Message
De
04/03/1997 10:59:03
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00022797
Message ID:
00022809
Vues:
48
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform