|
|
I've had a lot of difficulty passing functions as parameters in macros-
although I thought I'd cracked it until now.
The ridiculous thing is, I have a macro defined in one .pov file, which
calls the macros with functions in another file without any problem. Inside
this pov file the macro is called and it renders properly.
However, then I create another .pov file and try to call the macro in the
first .pov file, and it fails. The call to the macro is identical in both
cases. The only difference is that the first file has the main macro
defined inside it, and the second file includes the first file before
trying to call it.
The error given is:
Parse Error: Identifier expected, incomplete function call or spline call
found instead.
Am I trying to do something I shouldn't by passing functions as macro
parameters? Why does it work in one file and not the other? It's maddening.
Cheers,
Ben
Post a reply to this message
|
|