I'd use
baseclass. A Collection has a baseclass of 'Collection', and an array doesn't.
>Thanks very much --- I guess I've grown accustomed to using VarType, and forgot about Type.
>
>Would the following work to distinguish between arrays and collections?
>
>lcProperty = 'oObject.oProperty'
>Try
> lnCount = eval( lcProperty + '.Count')
> * Collection here
>Catch
> * Array here
>EndTry
>
>
>Thanks
>
>>The VARTYPE() will tell you the type of existing property/variable/field, excluding arrays/collections
>>
>>* Array/collection
>>TYPE(,1)
>>
>>
>>>How can you determine whether a property is:
>>>1) an array
>>>2) a collection
>>>3) an object
>>>4) or simple
>>>
>>>Thanks in advance