POV-Ray : Newsgroups : povray.general : The Language of POV-Ray : Re: The Language of POV-Ray Server Time
10 Aug 2024 03:16:25 EDT (-0400)
  Re: The Language of POV-Ray  
From: Marc Schimmler
Date: 9 Mar 2000 10:56:35
Message: <38C7C9B3.26860AF0@ica.uni-stuttgart.de>
Nieminen Juha wrote:
> 
>   I think that a more povray-type syntax would be:
> 
> #for(I=1; I<=5; I++)
>   ...
> #end
> 
>   Of course this can be done with a #while-loop, but this kind of shortcut
> just makes life easier.
>   I would also like to see this:
> 
> #do
>   ...
> #until(whatever)
> 
>   I have at least once needed this kind of feature. With the regular #while
> loop I had to write the body of the loop twice.
> 
>   And this I have suggested before:
> 
> #declare A += B;
> #declare A -= B;
> #declare A *= B;
> #declare A /= B;
> etc...
> 

I believe that if these are *additions* to the language nobody would
object.
I'd like to see them.

Marc

-- 
Marc Schimmler


Post a reply to this message

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