|
|
In article <4082a04d$1@news.povray.org>,
Florian Brucker <tor### [at] torfboldcom> wrote:
> Any chance that one will be able to exit loops and macros via #break (or
> some other command) in an upcoming POV-Ray version?
Probably not any time soon, at least not in an official version.
Development will probably focus more on POV 4.0 from now on, with only
maintenance updates to 3.x. If nobody forgets and it works out, it will
probably eventually get implemented in 4.x. In the meantime, just check
a halting variable:
#local Stop = false;
#local J = 0;
#while(!Stop & J < 10)
#if(rand(RS) < 0.1)
#local Stop = true;
#else
#local J = J + 1;
#end
#end
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/
Post a reply to this message
|
|