|
|
Am 27.11.2018 um 23:27 schrieb ingo:
> in news:web.5bfd56506924cc99783c249c0@news.povray.org jr wrote:
>
>> if you write:
>> [...]
>
> Thanks. Thats what I started with, but read somewhere the [2] can be
> omitted for one dimensional arrays,
Note that this isn't just a matter of convenience - the resulting arrays
will behave differently, with the "non-sized" array being able to grow
dynamically. The downside of such dynamically-sized arrays is that they
require more memory.
So whenever you know the size of the array in advance, omitting it is
bad practice.
Post a reply to this message
|
|