Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement