>>>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>
>Does that answer the question ?
Actually, after I re-read the question, it doesn't.
If it's not broken, fix it until it is.
My Blog