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:
Thank you. May I know where you got it?
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.
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.
Thank you. May I know where you got it?
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.
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.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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?