|
|
"Christian Froeschlin" <chr### [at] chrfrde> wrote in message
news:4b939fed@news.povray.org...
>
> Also, I use an almost identical "for" macro, except my
> names are reversed: The "callback" macro I call FOR and
> the "for" macro I call FROM_TO, then the usage has a
> slighly more traditional syntax ;)
I've actually only used my "for" macro once, therefore meaning that it's
taken me *more* effort than if I hadn't written it at all! It never seems to
quite suit any code I'm writing.
> #macro FOR(I)
> //Do something with I
> #end FROM_TO(1,10)
>
> Also I have indexed copies of the macro for nested loops.
Interesting, that certainly looks better than my one. I might try that.
--
Tek
http://evilsuperbrain.com
Post a reply to this message
|
|