08-01-2022 05:13 AM - edited 08-01-2022 05:14 AM
Why?
Solved! Go to Solution.
08-01-2022 06:11 AM
You are building an array in the first dimension. So the length of that dimension increases by 1. The length in the second dimension will grow to the largest of the lengths in that dimension. The largest is still 0, so the length is 0.
There is an old thread somewhere on this board discussing this exact situation.
08-01-2022 07:39 AM
Thanks for your help!
I'm going to look for this old thread.
08-01-2022 07:43 AM
Hi Bay,
@MapleBay wrote:
Why?
You add a row to an empty array: you get an array with one row, but still 0 columns…
Pretty logical!
08-01-2022 11:32 AM
@MapleBay wrote:
Why?
What else would you expect?? The number of elements of a multidimensional array is the product of the sizes. Any particular size can be !=0 and that is perfectly valid and meaningful.
Please don't make us click on attachments. You can embed images directly in your post. Thanks!
08-01-2022 11:39 AM
@MapleBay wrote:
Thanks for your help!
I'm going to look for this old thread.
Start reading here. Further down you'll also find links to discussions from 2003 and 2010.
08-01-2022 09:53 PM