Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Putting values in more than one excel-cell at a time
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01301740
Message ID:
01302244
Vues:
14
>>Hello Sergey
>>
>>the first fact is well-known :-). But I can't imagine why the ArrayPasser returns the whole array and what does "the whole array" mean... It returns a reference that is in some way other than @lcArray - that is irritating for me.
>
>The whole array" means that a reference to the array is returned not just the first item. VFP only recognize @lcArray as passed by reference when it's used as a parameter.

OK. I understand now. I've previously tried to pass @lcArray as a parameter to another function, which in turn would assign this value to Excel Range.Value. But, of course, this other function assigned not the reference but lcArray itself, what actually meant lcArray(1).

ArrayPasser is a trick to place the "value of reference" to the right to the "=" sign - the only way to assign a reference to a variable in VFP. Do you know any other situations one could need this kind of a function but for arrays?

Thanks!
Alexander
Alexander Lerner
a_lerner@heinrich-schmid.de

The life is somewhat easier than it seems to be.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform