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
|