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).
In reply to Re: Max dimensions of multi-dimensional array
by BillKSmith
in thread Max dimensions of multi-dimensional array
by ravi45722
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |