>>Yes, but in the initial message Jorge ask for a way to reference an
>>array without copy it...
>
>That's exactly what one of the techniques does, and it's faster than macro substitution. Note:
>
>>>2. Use the EVAL() function to access the Nth element of oMyObject.aMyArray by saying:
>>>cThisElement=cMyArrayRef + "(N)"
>>>Now you can change the value of N as often as you like and resolve the value of the Nth element by simply asking for Eval(cThisElement)
>
>:)
Thanks you guys (Gérald & Mark) for your advise, I'm migrating my applications to VFP 5.0, I guess I have to rewrite my old array functions so now they can handle array properties.
Have any of you tested what could be faster, either copy the array to a temp array or do the macro substitution as Gérald proposes?
Jorge Flores
From the Amigo Country