|
|
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:
#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
And of course some operators would be handy:
#declare Index+=1;
#declare PosX*=1.5;
#declare PosY/=2;
#declare PosZ-=10;
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|