Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array size
Message
 
À
25/05/1999 09:35:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00222445
Message ID:
00222453
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform