Information générale
Catégorie:
Codage, syntaxe et commandes
>But when I want to use this array is it impossible because juste the frist element (atoto(1,1)) was tramsited with the call fonction
I would use an object for a parameter:
oArray = createobject('custom')
oArray.AddProperty('aArray[1]')
do form MyForm with oArray
Now, have the for accept and store the object reference in a property. You can dimension and manipulate the array property in the called form just like you would any other array.
Then, when code comes back to the calling procedure, oArray.aArray will be the updated array.
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