Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning an Array from a Function
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00338850
Message ID:
00339183
Views:
28
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform