> I guess it's related to the already known macro-bug: if you return results
> via the parameters, every now and then the parameter will be returned
> unchanged.
>
> So, if your macro works like this:
> #macro DoSomething(Variable)
> #declare Variable=Variable+1;
> #end
A good workaround is just to pass values by substitution instead...
#macro DoSomething(Variable)
#declare result = Variable+1;
(result)
#end
Then call the macro from a declare.
#declare Variable = DoSomething(Variable);
Post a reply to this message
|