11-12-2022, 06:38 PM
(11-12-2022, 06:18 PM)Pete Wrote: Welcome to the forum.
I'll wait for one of the devs to go into the specifics here. Out of curiosity, did you come from the Quickbasic era, where memory was limited? If so, it's worth noting QB64 was designed to use your system memory, so my guess would be if your system has enough free memory, it may be possible, but this is a very large array size so hopefully you will get a answer from one of the devs soon. Steve has worked with some very large arrays, and Matt may have some additional insights on the internal workings, as well. The only restriction I'm aware of is from the wiki for numbering an array from 1 to something. For that "something" is maxed at: 32767. For using DIM myarray() I see no such restrictions.
Article on QB64 arrays is here: https://qb64phoenix.com/qb64wiki/index.php/Arrays
Pete
Hi Pete, thank you for your answer. I thougth it was a limit QB64 to the arrays. I read the arrays article, but there is nothing about the maximum size length array.
Yes, I come from old Basic compilers, and my first idea it was there is a limit of array. But if you say me, the limit is memory system. It could be the memory of my system. Thank you very much for your answer, I will try to test in other machine.
Pedro