At 10:57 2018-02-15, "Fernando D. Bozzo" <fdbozzo(a)gmail.com> wrote:
>Hi Gene:
>
>To talk with an example, if you have this:
>
>oObj = createobject("custom")
>reference = "oObj"
>
>The you have at least 3 options:
>
>1) The way you know => &reference..referredto
>
>2) Using evaluate => =Evaluate(reference + ".referredto")
>
>3) My preferred: Caching the object and then using it:
>
>oRef = Evaluate(reference)
>? oRef.refered1
>? oRef.refered2
>...
I was hoping to avoid evaluate(), but your third way makes
sense. I will check if it works in all the contexts I am thinking
of. (I was using "object" and "reference" rather loosely.)
[snip]
Sincerely,
Gene Wirchenko