Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing by Reference
Message
From
23/04/2004 12:23:20
 
 
To
23/04/2004 09:11:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00897358
Message ID:
00897652
Views:
19
Hi,

if it is especially about array's,
LOCAL laX[2]
= called(laX)
= called(@laX)
FUNCTION called(tuRefOrVal)
? TYPE("m.tuRefOrVal[1]")
that should be a way to tell the difference in this special case.
Perhaps depending on your "code situation" you can build on this.
Another way (if you know all possible calling var names) is to try
whether they are still visible - they are "renamed" in the call by ref.

HTH

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform