Chris Colefax wrote:
>
> Try enclosing your calls to the macro in brackets, i.e:
>
> #declare one=(return1());
> #debug "done\n\n\n"
>
> #if ((return1())=1)
> #debug "done."
> #end
>
> This should allow POV-Ray to correctly interpret the returned value, and
> things should work as expected.
Thanks, this works! It is a bit nicer than the workaround with an extra
variable.
- Micha
Post a reply to this message
|