POV-Ray : Newsgroups : povray.general : The Language of POV-Ray : Re: The Language of POV-Ray Server Time
11 Aug 2024 01:16:38 EDT (-0400)
  Re: The Language of POV-Ray  
From: TonyB
Date: 14 Mar 2000 21:28:07
Message: <38cef537@news.povray.org>
>The for-loops I have used in the past have also allowed a
>STEP parameter that defined the amount of increment for each loop. One
>wouldn't have to be limited to incrementing or decrementing by one.

AFAIK, the C-like for-loop that would be added to POV would not have any
limitations in this respect. The way I see it, the syntax would be as
follows:

#for (Counter has an initial value established*, Condition to exit**,
Step***)
 Stuff to do...
#end

*example: I=0, I=100, etc.
**example: I<5, I>3, I=3, etc.
***example: I++, I--, I+3, etc.


Post a reply to this message

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