>>>>
>>>>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
Nope, it still gives you an "'whatevernameyouused' is not an array" error. Unless it is an array, but even then it still will return at least 1. An array has to have at least one element.