Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DIMENSION command
Message
De
07/03/2003 11:00:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
07/03/2003 10:47:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00762740
Message ID:
00762749
Vues:
12
>Hello,
>
>I'm issuing the following command:
>DIMENSION auArray(lnCount, FCOUNT())
>
>FCOUNT() returns 253 and lnCount is 266. I'm getting a 'Too many variables' error message. Why? I thought arrays were considered as being one variable?
>
>How can I resize an array with lots of rows and columns without getting an error?
>
>Thanks, Stephane.

Arrays are limited to 65000 elements total. Here, you are trying to create an array with 67000 elements.

I created a class that allows arrays with more than 2 dimensions and more than 65000 elements. Only elements to which you assign a value actually use up space. However, accessing this is much slower than the native arrays.

If you are still interested, click here: http://www.levelextreme.com/wconnect/wc.dll?FournierTransformation~2,54,33,15699

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform