Does an Array have the maximum limit of dimension?

Back to topics list To post a new topic, please log in or register
avatar
228
jollydragon 2015.10.12 04:44
 

 Does an Array have the maximum limit of dimension?

I can't find it in the help instruction.  Is it mentioned in the help instruction?

avatar
735
honest_knave 2015.10.12 09:06 #
 

According to the documentation here:

The maximum admissible amount of dimensions in an array is four


avatar
228
jollydragon 2015.10.13 04:26 #
 
honest_knave:

According to the documentation here:

The maximum admissible amount of dimensions in an array is four


Sorry for my wrong expression.

I mean the maximum limit of one dimension Array.  I can't find it in the help instruction.  Is it mentioned in the help instruction?

avatar
Moderator
3406
GumRai 2015.10.13 07:32 #
 

I think that it is 100 million for globally declared arrays

There is a 512kb limit on the amount of memory assigned to locally declared variables, so it could depend on what the array is storing.

 

 

avatar
228
jollydragon 2015.10.14 02:55 #
 
GumRai:

I think that it is 100 million for globally declared arrays

There is a 512kb limit on the amount of memory assigned to locally declared variables, so it could depend on what the array is storing.

 

 

Thank you. May I know where you got it?
avatar
Moderator
3406
GumRai 2015.10.14 03:59 #
 
jollydragon:
Thank you. May I know where you got it?
I got an error when compiling some code with a very large Array range one time. As the error stated that it was too large for a locally declared variable, I tried declaring it globally and found that there was no error. Just out of curiosity I tried a larger array size until I found that 100 million was the maximum.
avatar
228
jollydragon 2015.10.15 03:38 #
 
GumRai:
I got an error when compiling some code with a very large Array range one time. As the error stated that it was too large for a locally declared variable, I tried declaring it globally and found that there was no error. Just out of curiosity I tried a larger array size until I found that 100 million was the maximum.

 

Thank you very much for the sharing.  

Back to topics list  

To add comments, please log in or register