|
![](/i/fill.gif) |
In article <3a3f589f@news.povray.org>, Geoff Wedig
<wed### [at] darwin epbi cwru edu> wrote:
> So, any of you Megapov gurus got any ideas? I this this is an
> unsolveable limitation in the program, but maybe someone else has
> found a way around it.
Instead of defining a macro inside of another, change the value of a
global variable and put all your macros in the file, with different
names. Then, have the macro that you called(the one that was originally
defined inside the other macro) decide what to do based on that
variable. Probably the best way would be to use the #switch statement to
call the desired macro.
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |