Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning an Array from a Function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00338850
Message ID:
00339183
Vues:
29
>An object is passed by reference. I believe that this is due to passing the memory address of the object, not the physical object (or something along those lines).

Right. You are actually passing a memory pointer to the function. The function then manipulates the value in that address. When you RETURN out of the function, the calling routine's variable has been altered because the data in its address has been manipulated.

Of course, I am assuming there is some manipulation...

Joe
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform