Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The usual error, EMPTY is not
Message
From
21/04/2005 18:03:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Title:
The usual error, EMPTY is not
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01007283
Message ID:
01007283
Views:
66
On Collection doc:

* To determine if keys were specified when items were added to the collection,
you can use the statement GetKey(1) and the EMPTY() function to check for an empty return value as follows:


Of course:
Collection=CREATEOBJECT("Collection")
Collection.Add("First",0H9)
? !EMPTY(Collection.GetKey(1)),0<LEN(Collection.GetKey(1))
Next
Reply
Map
View

Click here to load this message in the networking platform