|
|
Le 18-02-05 à 17:47, Mike Horvath a écrit :
> I am trying to create a macro:
>
> #macro BlurredReflection(InPigment, InFinish, InNormal)
> ...
> #end
>
> But I don't want to *always* pass a value to the macro. Is there a way
> to pass a "null" or "nil" value to the macro, and then check for it
> using a conditional statement?
>
> Thanks.
>
> Mike
Not any that I'm aware of.
What you can do is define the macro with only a single, or no, parameter
and use some global variable and #if statements to assign defaut values
it any variable is not already defined.
Post a reply to this message
|
|