Does an Array have the maximum limit of dimension?

 

 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?

 

According to the documentation here:

The maximum admissible amount of dimensions in an array is four
 
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?

 

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.

 
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?
 
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.
 
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.