>>> if (type("this.aformarray[n].name") == 'C'
>>
>>It's bordered to checking nothing except Error routine :)
>
>Sorry, I don't follow. :)
>
>Are you saying that there's a problem with the method I described?
No, I just meant that if we omit checking for object, and check for object property then it might be enough not to check at all except error trap on first line where this object reference will be used. Just a joke, probably unsuccessful, sorry. Normally, TYPE() works Ok, I didn't try VARTYPE() though.
Edward Pikman
Independent Consultant