POV-Ray : Newsgroups : povray.general : Macro problem : Re: Macro problem Server Time
29 Jul 2024 06:21:43 EDT (-0400)
  Re: Macro problem  
From: posfan12
Date: 11 Oct 2013 14:10:01
Message: <web.52583ee130eb22c641a177270@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> 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

Awesome, thanks!


Mike


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.