Anyone know if there is a way to pass a value into a method by reference and assign that to an Object.Property. Something like:
pcMyVar=.F.
? myObj.Process(@pcMyVar)
DEFINE myObj
cMyVar=""
PROCEDURE Process
LPARAMETER THIS.cMyVar
ENDPROC
ENDDEFINE
Unfortunately the above does not work, it throws a compile time error of 'Must be a variable or array'.
Cheers,
Nick