Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameter by reference
Message
From
08/09/2011 08:23:21
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01522925
Message ID:
01522995
Views:
58
>>Does anyone know of a way to determine if a variable has been passed to a function by reference or by value. This is a run-time question.
>>For example:
>>
>>local a
>>a='test'
>>=Test(@a)
>>=Test(a)
>>
>>procedure Text
>>lparameter b
>>*-- here, i would like to verify that the variable 'a' was passed to 'b' as by reference.
>>...
>>
>
>Take a look at this
>http://berezniker.com/content/pages/visual-foxpro/difference-between-function-and-procedure-statements

Thanks, I was aware these limitations and differences between the two.
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform