Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug - Maybe so
Message
From
10/06/2004 15:35:33
 
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
Miscellaneous
Thread ID:
00911808
Message ID:
00912402
Views:
6
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')
Previous
Reply
Map
View

Click here to load this message in the networking platform