POV-Ray : Newsgroups : povray.pov4.discussion.general : Featur request: macros with local scope : Re: Featur request: macros with local scope Server Time
3 May 2024 12:04:12 EDT (-0400)
  Re: Featur request: macros with local scope  
From: SharkD
Date: 30 Jun 2008 13:35:00
Message: <web.4869187596a7cebb8fe8aef0@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> I would like to request the ability to define macros such that they have only
> local scope.
>
> For instance, I am attempting to use several instances of Rune's particle
> system. unfortunately, some of the internal macros conflict with each other
> when defined multiple times. When I try to define the macro a second time
> POV-Ray quits with errors.
>
> -Mike

I managed to get around the problems I was having by using the "undef" command,
though this ability is undocumented.

-Mike


Post a reply to this message

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