>>>Sure, the array could reference an object and use it's PEMs, but I'm looking for the array to be an object itself. Even if I stored an object reference in the array, I don't think an array would respond to a PEM, such as:
>>
>>MyArray(1).Click()
>
>The array is not an object/class. But its elements can be objects. So, if MyArray(1) is an object that has a Click method, then MyArray(1).Click() will work.
>
>The downsize of using an array is that you cannot add properties/methods to an array. This is why I suggested a Container class.
>
>Vlad
Vlad,
You can add properties to an "array object".
DIMENSION MyArray[5]
MyArray[1] = CREATEOBJECT('Line')
MyArray[1].AddProperty('Test',5) seems to work just fine!