Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array property as a referenced parameter to a function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00047926
Message ID:
00047976
Vues:
34
>Yes, but in the initial message Jorge ask for a way to reference an
>array without copy it...

That's exactly what one of the techniques does, and it's faster than macro substitution. Note:

>>2. Use the EVAL() function to access the Nth element of oMyObject.aMyArray by saying:
>>cThisElement=cMyArrayRef + "(N)"
>>Now you can change the value of N as often as you like and resolve the value of the Nth element by simply asking for Eval(cThisElement)

:)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform