POV-Ray : Newsgroups : povray.general : array.length()? : Re: array.length()? Server Time
30 Jul 2024 12:20:05 EDT (-0400)
  Re: array.length()?  
From: [GDS|Entropy]
Date: 24 Feb 2009 03:11:51
Message: <49a3abc7@news.povray.org>
Because the array is declared outside of the macro which populates it, to 
facilitate its passing to other macros as a variable, so always returns 
whatever you defined its length to be, regardless if it has been populated 
with that many values.

Pov doesn't support redimensioning, does it?

ian

"Thorsten Froehlich" <tho### [at] trfde> wrote in message 
news:49a3a996$1@news.povray.org...
> [GDS|Entropy] wrote:
>> Is this the best I can hope for? Is there some other way to detect the 
>> populated length of an array? dimension_size is *useless*.
>
> Why do you think so?
>
> Thorsten
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.