>How can I have a reference to an object like this?
>
>
>loLine = 'loLine' + ALLTRIM(STR(ix))
>&loLine = LineToObject(laLines[m.ix])
>
>
>So that I can reference loLine5.Property if ix = 5 ?
>
>The above doesn't work.
Store LineToObject(laLines[m.ix]) to ('loLine' + ALLTRIM(STR(ix)))
To be exact this has more to do with identifyingthe target var than with
object references.
To get number-neutral object handles work on the lines of
loWork = eval('loLine' + ALLTRIM(STR(ix)))
? loWork.Property
HTH
thomas