POV-Ray : Newsgroups : povray.general : Undefine macro? : Re: Undefine macro? Server Time
20 Nov 2024 00:39:54 EST (-0500)
  Re: Undefine macro?  
From: N Shomber
Date: 6 Dec 2001 22:08:10
Message: <3c10329a@news.povray.org>
> I find it strange, as it's possible to overwrite a macro, just like
> variables, and to check if a macro is defined using #ifdef, just like
> variables, but to undefine it isn't possible for some reason (or is it?).

Have you tried #undef ???
If that doesn't work, perhaps you could redefine it after it is called
based on a flag set within the macro?

N Shomber


Post a reply to this message

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