Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrays
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Arrays
Miscellaneous
Thread ID:
00468777
Message ID:
00468827
Views:
22
>>IF laArray = .f.
>> ** my array is empty
>>else
>> ** it is not empty
>>endif
>>However, this only works after it has initialized :-).
>
>
>Thanks for the info. I guess I should have explained what I meant a little more.
>
>What I mean is if I did something like this
>DECLARE laArray[1,2]
>?laArray && returns .f. The array is empty after initialization.
>
>however, if we put something in [1,2] and nothing in [1,1],
>?laArray would not return a .f. It would not display anything.

No, "?laArray" would still return .F. if there has never been a value put in it.
It is still "empty", however the array is not.

>
>That is what I meant by
> >However, this only works after it has initialized :-).
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform