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 18:37:41
 
 
À
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:
00022858
Vues:
38
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform