POV-Ray : Newsgroups : povray.pov4.discussion.general : I want to be rid of my stupid mistakes : I want to be rid of my stupid mistakes Server Time
26 Apr 2024 22:21:23 EDT (-0400)
  I want to be rid of my stupid mistakes  
From: bgimeno
Date: 19 Jul 2009 14:08:45
Message: <4a63612d@news.povray.org>
The following code is perfectly valid to the present version, but does not 
produce anything.

#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

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

B. Gimeno


Post a reply to this message

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