>Hi,
> Does anything one know how to pass a property of an object by reference?
>Something like
>
>oObj = CREATEOBJECT("Custom")
>oObj.AddProperty("Prop1", "")
>oSomeFunction = CREATEOBJECT("SomeFunction")
>oSomeFunction.Function1(@oObj.Prop1)
It's not possible to pass an object property by reference; if you need to pass it by reference, you either must pass the object reference itself and then manipulate the member using the passed object reference, or copy the value of thye property to a memvar and pass the memvar by reference, and copy the memvar's content back to the property on return.
Even the use of DO to invoke the function with UDFPARMS set to REFERENCE passes the object property by value.