POV-Ray : Newsgroups : povray.general : array.length()? : Re: array.length()? Server Time
30 Jul 2024 18:20:42 EDT (-0400)
  Re: array.length()?  
From: Bill Pragnell
Date: 25 Feb 2009 08:30:00
Message: <web.49a5473978dc09ae6dd25f0b0@news.povray.org>
"clipka" <nomail@nomail> wrote:
> I think testing for #ifdef(myArray[i]) is quite an elegant solution for the
> problem: You just need the array, nothing more. "Global thinking" may be easier
> for a quick hack, but is usually not so elegant in the long run. It's often an
> obstacle when you want to turn code into a re-usable macro.

Oh yes, I'm with you there. It's definitely a dirty trick, I'm just curious to
know why it mightn't work.


Post a reply to this message

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