in reply to Max dimensions of multi-dimensional array
The reason you cannot find any documentation about the maximum size available for an array is that arrays expand as needed. They are limited only by memory available.
Because each index starts at zero, when you store the elements you specified, the size of your array will expand to 346 x 65536 (if it is not at least that large already).
The solutions you have received do not give the same result. One gives the maximum index that has been used for each dimension. The other gives the current sizes (which are each one greater).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Max dimensions of multi-dimensional array
by AnomalousMonk (Archbishop) on Jul 13, 2016 at 14:22 UTC |