Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>>>HI All,
>>>>
>>>>I'm using some array comparisons (worked great), now I have aproblems with the maximum elements in foxpro (65,000). I used to do solve this with tables (scan, endscan) but this is so slow. Is there a way to get around the maximum capacity of foxpro?
>>>
>>>I believe this limit is gone with versions > 7, so either you can upgrade or you can create a COM component with a newer version and reference that.
>>
>>In version 9 the limit is only available memory. Prior versions had this limit.
>
>That's right, but I'm assuming an array would have to be very very large to be affected by the memory limit.
That's the idea, isn't it? ;-)
Personally I avoid arrays in most cases. They may be a bit faster than cursors (or not -- I have not tested) but that is more than offset by the code being less clear. Which would you rather deal with -- mycursor.nUnitPrice or myArray[nCounter,9]? Not to mention that the latter practically invites hard to find bugs if the table structure changes.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement