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 10:04:37 EDT (-0400)
  Re: Simulated urbanism macro scene: version 2013.04.08  
From: clipka
Date: 8 Apr 2013 17:57:18
Message: <51633d3e@news.povray.org>
Am 08.04.2013 16:40, schrieb Thomas de Groot:
> 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?

Can't confirm that one. Are you computing Numbers somehow? Maybe due to 
rounding effects you end up with Numbers = 49.9999 or some such.


Post a reply to this message

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