According to the VFP9 documentation
TYPE( ) Determines if an Expression is an Array
The TYPE( ) function accepts the parameter, 1, to evaluate an expression to determine if it is an array.
Return Values:
A Expression is an array.
U Expression is not an array.
C Expression is a collection.
We can now use a parameter to see if a collection or ARRAY exists but is empty!
Glenn
>Same behavior in VFP8...
>
>
>>type('loObject.objects') returns "U" for a form object
>
>>loObj = create('form')
>>? type('loObj.objects')