|
|
In article <3d62e501@news.povray.org>,
"jfmiller" <jfm### [at] hotmailcom> wrote:
> While not strictly necessary, it would be nice to have a C style "for" loop.
> I've toyed around with the idea of implimneting it as a macro, but the
> deliniators tend to get in the way. Has anyone already done this? If not
> I'll keep working on my own.
I am pretty certain it is impossible as a macro, it would need to be
done as a patch. The closest you could do is take the loop body as a
string parameter and write the entire loop to an include file, then
include that file. You can't have the beginning of the loop block in one
macro/include file and end it elsewhere.
--
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
|
|