>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,15699HTH,
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)