Hi,
VFP apparently does not read the no. array elements prior to processing, it is only when it gets to element 65001 that it stops.
I just check he number of elements prior to processing.
>Hi Sergey and Neil,
>
>please,
read my message again...
>
>
I know so in help is this notice. But why VFP
cause error>"Array dimensions are invalid"? The
simply way is
don't save large array.
>
>MartinJ
>
>>The SAVE TO and LCK don't support arrays bigger then 65,000 items. It's documented behavior.
>>
>>>
>>>PUBLIC array laX(70000)
>>>
>>>* this command cause error
>>>* "Array dimensions are invalid"
>>>SAVE to e:\test2.mem
>>>
>>>
>>>OK, in help is note:
>>>
>>>Object type variables cannot be saved to a variable file or memo field. The SAVE TO command does not support saving arrays exceeding 65,000 elements.>>>
>>>So, why VFP cause error for large array but not for each object?
>>>The simply way is ignoring large array at saving to mem file.
>>>
Regards N Mc Donald