POV-Ray : Newsgroups : povray.general : #for loop example? : Re: #for loop example? Server Time
29 Jul 2024 00:35:31 EDT (-0400)
  Re: #for loop example?  
From: Le Forgeron
Date: 30 Aug 2013 07:49:39
Message: <522086d3$1@news.povray.org>
Le 30/08/2013 06:35, posfan12 a écrit :
> Never mind I figured it out. Here is an example:
> 
> #for (j, 0, 4)
>  #debug concat("j = ",str(j,0,0),"\n")
> #end
> 
> should result in:
> 
> j = 0
> j = 1
> j = 2
> j = 3
> j = 4

and
#for(j,0,4,0.5)
give 0, 0.5, 1, ... and so on

-- 
Just because nobody complains does not mean all parachutes are perfect.


Post a reply to this message

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