>Further to my last message, one can construct one's own reference and pass that.
Sorry to disappoint you but what you're passing isn't a reference but the full name of the array property. It would only work if the object, array property belongs to, is in the scope in the function. Here's the test code that demonstrates that.
PRIVATE loObj
loObj = Createobject("Custom")
loObj.AddProperty("aArray[3]",3)
? myfunc("loObj.aArray")
RETURN
FUNCTION myfunc(caArray)
RETURN &caArray[2]
With PRIVATE loObj it works but uncommenting LOCAL loObj'll generate an error because loObj isn't in the scope in the myfunc function.
So, no hum. :)
--sb--