Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Too many variables error
Message
De
22/05/1997 13:12:33
 
 
À
22/05/1997 12:21:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00033283
Message ID:
00033290
Vues:
40
>When attempting to run a genetic algorithm application in VFP 5.0, I get a 'too many variables' error message at the following line of code execution:
>
>DIMENSION population((2 + population_size),max_columns)
>
>At the default value of mvcount (1024) I get this message at a population_size between 750-800. I tried raising the value of mvcount all the way up to 65000, but I still get the error. Is this problem correctable? Am I limited by RAM vice VFP5? How can I tell?

First FoxPro has an absolute limit of 65000 items in an array (in otherwords, (rows * columns) <= 65000. There is no exceeding this.

However, I'm not sure that this is your problem - if I recall, an array takes up one variable space (for its address, for you assembler/C people). Just before executing this instruction, try issuing a DISPLAY MEMORY TO PRINTER and check the report - there may be more going on in there than you think.
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform