Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Too many variables error
Message
De
22/05/1997 15:37:43
 
 
À
22/05/1997 13:12:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00033283
Message ID:
00033318
Vues:
39
David,

I think you have hit the problem square on! The originator never did say how big "max_columns" was, but I would guess that approx. 750 * max_columns = 65000.
As I remember it, an array itself only takes up 1 as a MVCOUNT regardless of the size of the array.

Cheers,
Jim N

>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform