>>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.
>
>This looks suspiciously as if you want to maintain an array of objects - something people sometimes need on a form.
>
>My personal preference would be to add an array of objects to the form, with .AddObject(). See my FAQ #8110. Once created, you can access any one of the objects with array syntax! Note that some of the greatest experts over here don't agree with my preference; but the FAQ also includes other alternatives.
You may want to update the FAQ, with two things. First, we now also have an option to have a collection of objects, which gives us two ways of accessing the members at random - by number (same as arrays) and by key (arrays can't do that without writing a loop or carefully designing aScan() check), and there's the same For Each option that works for arrays.
The other thing you need to update is the link to the thread - UT has changed link formats so your link doesn't work anymore.