Hi Viv,
try to check properties available using AMEMBERS() and PEMSTATUS() functions. Not every object need to have .NAME . EMPTY Objects may be total without any properties.
Update:
If you use SCATTER NAME don't miss the ADDITIVE clause.
HTH
Agnes
>Hi Jamie,
>
>>...somewhere that the use of a collection and FOR EACH made good sense and it is buggy
>
>
>Oddly enough I hit another similar problem later in the day. I had a collection of objects one of whose properties was a reference to another object. After building the collection some of the original references to these 'inner' contained objects were released. Subsequently attempting to access these objects via the collection produced confusing results. E.g:
>
>
>ISNULL(Object)
>TYPE("Object")
>? Object.Name
>? TYPE("Object.Name")
>
>
>In the end I was reduced to using the last line above as a basis to determine whether the object actually existed. I would have expected either
>(a) the object to remain instantiated because a reference to it was held in the collection or (b) (and less likely) the collection reference to be .NULLed.
>
>Oh Well, Regards,
>Viv
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]