>>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.
>
>I get what you are saying.
>If I said
>MylogicalValue = laArray
>?MyLogicalValue && would return .f.
>
>That makes sense now I guess that is why you are the MVP :-)
>
>Thanks for the info I know it will come in handy sooner or later.
>Probably sooner :-)
You can reference an array without any subscripts. The information shown is the whatever is in the first element of the array.
A little trick you can use to initialize an entire array:
laArray = 0 (or =.T., or whatever type of value you need)
Now, no matter what the dimensions of the array, all of the elements have been set to 0.