POV-Ray : Newsgroups : povray.binaries.scene-files : Simulated urbanism macro scene: version 2013.04.08 : Re: Simulated urbanism macro scene: version 2013.04.08 Server Time
27 Apr 2024 11:48:03 EDT (-0400)
  Re: Simulated urbanism macro scene: version 2013.04.08  
From: nimda
Date: 8 Apr 2013 15:00:01
Message: <web.516312fbe84780e6787874620@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 8-4-2013 16:17, Thomas de Groot wrote:
>
> > Yes. However, in my code #for (Counter, 1, 10) with default step=1, the
> > Counter only shows the numbers 1 to 9...
> > I am sure I am missing something obvious here :-(
>
> More bizarre than that: #for(Counter, 1, Numbers) where Numbers=50  the
> last number shown is 49, but for all other values (as far as I have
> tested now) the result is correct. Have I met a freakish behaviour just
> by chance? Something to do with rounding effect?
>
> Thomas

What messages do you get when you do the following:

#for (I, 1, 10)
#warning Str(I)
#end

Or does the Counter gets modified during the loop?

Marc


Post a reply to this message

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