Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrays
Message
From
25/01/2001 18:14:34
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Arrays
Miscellaneous
Thread ID:
00468777
Message ID:
00468858
Views:
29
>>>
>>>Wouldn't work.
>>>
>>>laArray[2] = "something"
>>>
>>>laArray[1] could still be .f., but the array is not "empty".
>>>
>>>BTW, a value of .f., 0, "", or {}, could also be considered empty, depending on the type of data involved.
>>
>>
>>if ALEN(Myarray,0)= 0
>>* this array has no elements in it
>>endif
>>
>>
>>Jim
>
>I don't think that's possible. If it has no length, it's not an array.

The little 0 thats the last parameter means it returns the current number of elements and not just the defined size. I thought it might do what you want
Jim Newsom
IT Director, ICG Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform