Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Increasing Array Max Size?
Message
From
09/06/2005 18:23:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/06/2005 15:21:09
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01021918
Message ID:
01021961
Views:
15
>I think I read that the default max size of an array is 65,000 elements. Im guessing that means 65k rows for a one dimensional array and 32.5k rows for a two dimensional? Anyways how can I increase this?

"32.5k rows for a two dimensional..." That would depend, of course, on how many columns you have. If you have 3 columns in your array, you are limited to 65,000 / 3, etc.

VFP 9 lifts this limitation, so upgrading to VFP 9 would be the ideal solution.

An alternative is my download #15699. You have some advantages (unused elements don't take up space; you have have up to 10 dimensions), but there are also disadvantages. Mainly, accessing the array through this class is slower than the built-in arrays. Also, you can't use the built-in array functions.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform