POV-Ray : Newsgroups : povray.advanced-users : pass variable from macro? : Re: pass variable from macro? Server Time
5 Jul 2024 15:22:26 EDT (-0400)
  Re: pass variable from macro?  
From: Tim Attwood
Date: 27 Jan 2008 17:39:00
Message: <479d0804$1@news.povray.org>
Remember that #local and #declare are not the same
scope. #local inside a macro is local to the macro,
but a #declare inside a macro is global. If you
use #declare inside a macro you can use the
declared variable to return values.


Post a reply to this message

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