Wow, I understand what didn't work...
Well, partly...
I used the macro in a declare :
#declare MyVar = MyMacro(MyStuff);
But POV-Ray parsed the macro and found some #if and #else BEFORE the expected
semi-colon...
:-/
So I have to put the semi-colon IN the macro, and not in the #declare line...
:(
I think I'll use extra arguments to return the value instead...
Post a reply to this message
|