Am 22.07.2018 um 06:26 schrieb Mike Horvath:
> What is the correct syntax for creating dynamic arrays (new in POV
> 3.7.1?) and adding new items to them?
#declare Foo = array;
#declare Foo[42] = 4711;
This will create a resizable array with an initial size of zero, and
then grow the array to have a size of 43 (elements 0 through 42).
It is important to note that
#ifdef(Foo[4711])
will also grow the array (to a size of 4712).
Post a reply to this message
|