>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