Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Know Parameter Passed By Reference?
Message
From
29/11/2005 14:38:34
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01072940
Message ID:
01072963
Views:
23
Yes, that would work (and is what I am doing now in lieu of a better way to tell in the function), but the calling code has to know to initialize the variable and then check it after. While that is always a good idea anyway, I was going for the straight true/false return value where the calling code could be blissfully ignorant of what was going on and just trust the TRUE or FALSE from the function...

Was also intrigued when wondering how one could tell between reference and value, and was hoping for some uber-guru to come up with an elegant trick. *smile*

JoeK
Previous
Reply
Map
View

Click here to load this message in the networking platform