Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about VFP 6 and array dimensions
Message
De
29/12/1999 13:40:47
 
 
À
29/12/1999 01:05:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00309652
Message ID:
00309981
Vues:
29
>>>>Hi, folks...
>>>>
>>>>Quick question...does VFP 6 support arrays with more than 65,000 elements? (65,000 is the limit in VFP 5, but I don't know if they bumped up the limit in VFP 6).
>>>>
>>>
>>>Same restriction. And the number may be smaller than that depending on memory and other variables using up some of the name slots.
>>
>>Ed, you can correct me if I am wrong here, but I think that arrays somehow walk on water as far as avoiding the system limit for memvars. IOW, this is perfectly ok:
>>
>>
>>DIMENSION la1(65000)
>>DIMENSION la2(65000)
>>
>>The sum total of array elements here is way over the limit prescribed by MVCOUNT, but some how does not throw an error. Any insight here?
>
>Each array takes 1 entry in the name table; there is a limit on the size of the name table separate from the size of an array. There was some limit where the name table space starts interfering with the upper bound of the number of elements in the array, but I'm not sure when that limit was from. The older Fox documentation for 2.x related memory size rather than the name space size as the key factor, but we no longer can control the memory for the string space explicitly.

Ed,

Do you mean that MVSIZE no longer is useful in VFP, or is that the real limiting factor for array contents?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform