|
![](/i/fill.gif) |
Skiba <abx### [at] babilon org> wrote:
>> No, it shouldn't. What would the suggested change do? Resize the array?
>
> Documentation says: "Large uninitialized arrays do not take much memory.
> Internally they are arrays of pointers so they probably use just 4 bytes per
> element. Once initialized with values, they consume memory depending on what
> you put in them."
Where is it and was it in the 3.1 docs as well?
>> It has never been stated that you can undef array elements.
>
> 6.2.2.4 says: "You may however un-define an identifier using the #undef
> directive." So what is identifier ? 6.2.2.1 answers imo that identifier is
> everything what can be declared. Entry of array can be declared and can be
> tested via ifdef(), ifndef(), defined().
Yes, but you do not declare the array identifier with this syntax, you
assign a value to it. Without previously declaring the _array_ identifier
you cannot _assign_ a value to it. You are confusing a declaration and
assignment statement here!
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |