|
![](/i/fill.gif) |
> I think there's no so much need for a #for statemen, but what I want to
> see in a future version of povray is a do-while statement, like this:
There's always a need for these things. It will allow POVers to be more
creative, and at least, it will help people like me, who think in _for_ and
not in _while_.
> #do
> (something that will be made at least 1 time)
> (make some calculations)
> #while(condition)
>
> It's tedious to type:
>
> (make some calculations)
> #while(condition)
> (something that will be made at least 1 time)
> (make the same calculations here)
> #end
I don't understand what you mean about this being easier.
> And of course some operators would be handy:
>
> #declare Index+=1;
> #declare PosX*=1.5;
> #declare PosY/=2;
> #declare PosZ-=10;
I'm glad you agree. ++ and -- would also come in handy (i.e. less typing).
Post a reply to this message
|
![](/i/fill.gif) |