POV-Ray : Newsgroups : povray.advanced-users : simple for...loop question : Re: simple for...loop question Server Time
30 Jul 2024 00:18:10 EDT (-0400)
  Re: simple for...loop question  
From: Chris Huff
Date: 27 Jun 2000 18:22:42
Message: <chrishuff-3355A4.17224327062000@news.povray.org>
In article <395933C2.53F66B42@netvision.net.il>, Eitan Tal 
<eit### [at] netvisionnetil> wrote:

> I got y = ..........
> 
> I remember that I can go on a loop and insert numbers, but I don't
> remember how
> how do I do a simple for loop?

You don't. POV currently only supports #while() loops.
You can do pretty much the same thing this way:
#declare C=0;
#while(C<NUM)

    #declare C=C+1;
#end

-- 
Christopher James Huff - Personal e-mail: chr### [at] maccom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/


Post a reply to this message

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