POV-Ray : Newsgroups : povray.general : Undefine macro? : Re: Undefine macro? Server Time
7 Aug 2024 01:21:13 EDT (-0400)
  Re: Undefine macro?  
From: Ron Parker
Date: 6 Dec 2001 23:36:15
Message: <slrna10hq6.kpj.ron.parker@fwi.com>
On Thu, 6 Dec 2001 19:12:01 -0800, N Shomber wrote:
>> 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?

Can you just redefine it to do nothing?

-- 
#local R=<7084844682857967,0787982,826975826580>;#macro L(P)concat(#while(P)chr(
mod(P,100)),#local P=P/100;#end"")#end background{rgb 1}text{ttf L(R.x)L(R.y)0,0
translate<-.8,0,-1>}text{ttf L(R.x)L(R.z)0,0translate<-1.6,-.75,-1>}sphere{z/9e3
4/26/2001finish{reflection 1}}//ron.parker@povray.org My opinions, nobody else's


Post a reply to this message

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