Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Passing Array by Reference to a Form vfp6
DO FORM AddSamp WITH lcSample, lnReps, lnPackages, 3, lcProcess, @lcTemp
I get an error. My objective is to pass by reference all the variables except lcTemp. The form has a listbox and whatever is selected in that listbox is returned back to the calling form. However, I get an 'command cotains an unrecognized command word/syntax' error.
1) Can I mix pass by value and pass by reference in the WITH clause of the DO FORM?
2) How do I get AddSamp (a form) to return an array containing all the items selected from its combo box? I can get all the selected items into an array, without a problem, but I can't return it. And I can't pass an array by reference in the parameter list (see above) without getting an error...
matt
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