Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
!empty statement issue in arrays
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
!empty statement issue in arrays
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01509826
Message ID:
01509826
Views:
108
I have an array the I have populated with values. When I go to test the array to see if it is empty, the "!empty" statements doesn't behave correctly. My array has values, and it should execute the "IF" statement code. Here is my code below:
if !empty(a__generic)
	append from array a__generic   && this should execute, because a__generic has values
endif
the append from array should have executed. Is there a different way I should test to see if the array is filled or empty?

thanks
Nick
Next
Reply
Map
View

Click here to load this message in the networking platform