Micha Riser <mri### [at] gmxnet> wrote:
> Why does following not parse in POV (3.1):
[snip]
> ... gives " xxx.pov:3: error: ) expected but # found instead. "
>
> I could not find anything in the docs saying that this is not possible. Is
> it working in 3.5beta?
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.
Post a reply to this message
|