lcType = TYPE('oObject.oProperty',1) DO CASE CASE WHEN lcType = 'C' * Collection CASE WHEN lcType = 'A' * Array OTHERWISE * Something else ENDCASE>Thanks very much --- I guess I've grown accustomed to using VarType, and forgot about Type.
>lcProperty = 'oObject.oProperty' >Try > lnCount = eval( lcProperty + '.Count') > * Collection here >Catch > * Array here >EndTry >>
>>* Array/collection >>TYPE(,1) >>>>