POV-Ray : Newsgroups : povray.pov4.discussion.general : I want to be rid of my stupid mistakes : Re: I want to be rid of my stupid mistakes Server Time
19 Apr 2024 21:10:44 EDT (-0400)
  Re: I want to be rid of my stupid mistakes  
From: clipka
Date: 19 Jul 2009 14:20:01
Message: <web.4a63639297aca271eecd81460@news.povray.org>
"bgimeno" <bgimeno[at]persistencia[dot]org> wrote:
> #declare FooCount = 0 ;
> #while (FooCount < 100 )
> sphere {<0,FooCount,0>,1 pigment { rgb< 1, 1, 0> } }
> // #declare FooCount = FooCount + 1 ; // note this missing line
> #end

You're not the first one to do this :)


> I suppose that a "detector" of infinite loops is it too much to ask?

What should be the detection criterion?

I want a proper for-loop anyway.


Post a reply to this message

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