Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array size
Message
 
To
25/05/1999 09:35:50
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00222445
Message ID:
00222453
Views:
19
>I am working on a program to count the number of occurances of words in a book (sgml format). To do this and keep it quick I am throwing the word into a two column array with the number of occurances next to it for each chapter then appending it down to a database when I am finished counting.. well low and behold at 32k rows (give or take) I got a variable too big error.
>
>Are there size limitations to an array? 65k elements (32k rows x 2 elements each) the max, is there anyway around it without creating a second array?
>
>thanks,
>Jason

From VFP 6.0 Help Under System Capacities

Variables and Arrays

Default # of variables 1,024
Maximum # of variables 65,000
Maximum # of arrays 65,000
Maximum # of elements per array 65,000


Why Not Use A Cursor Instead?


HTH
Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Previous
Reply
Map
View

Click here to load this message in the networking platform