Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: Large Array and SAVE TO command cause error
Message
De
22/03/2006 05:53:30
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01106399
Message ID:
01106538
Vues:
24
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform