POV-Ray : Newsgroups : povray.general : #for loop example? : Re: #for loop example? Server Time
29 Jul 2024 06:26:35 EDT (-0400)
  Re: #for loop example?  
From: James Holsenback
Date: 31 Aug 2013 10:05:47
Message: <5221f83b$1@news.povray.org>
On 08/31/2013 05:28 AM, posfan12 wrote:
> James Holsenback <nom### [at] nonecom> wrote:
>> On 08/29/2013 11:38 PM, posfan12 wrote:
>>> Could someone please post an example of a #for loop? There is none in the docs.
>>> (Which should be fixed, too.)
>>
>> yikes ... i don't think the syntax diagram could be /any/ clearer
>> http://wiki.povray.org/content/Reference:Conditional_Directives#The_for_Directive
>
> The docs weren't clear if one had to add #local or #declare before the
> identifier, and I was confused regarding the End parameter - since most
> programming languages use an inequality (as does POVray's #while statement).
>
> Thanks for updating the wiki. One additional suggestion I'd make is to also
> state what the example code is supposed to /produce/. I.e. a series of spheres
> arranged evenly around a circle.

ah ... well I'm going to decline to do that ... need to cut off changes 
to docs because we're trying to do a release


Post a reply to this message

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