Warp <war### [at] tag povray org> wrote:
> posfan12 <nomail@nomail> wrote:
> > #macro randsign()
> > #if (rand(HPlanet_Seed_Value) > 0.5)
> > 1
> > #else
> > -1
> > #end
> > #end
>
> It's not a bug, but by design (even though it might not be intuitive.)
>
> You have to assign the value you want to "return" from the macro to a
> local variable and then have the name of that variable as the last thing
> in the macro.
>
> --
> - Warp
>I have guessed that we had overlooked something. But is this issue really mentioned
within the documentary? A document
ary which is still closed to the users right now. And called a Wiki ...
Best regards,
Michael
Post a reply to this message
|