POV-Ray : Newsgroups : povray.general : Global variable changed by Macro without parameters? : Re: Global variable changed by Macro without parameters? Server Time
4 Aug 2024 16:12:31 EDT (-0400)
  Re: Global variable changed by Macro without parameters?  
From: Tim Nikias v2 0
Date: 2 Apr 2003 08:08:23
Message: <3e8ae0c7$1@news.povray.org>
Of course. I'm using my own version for this, because
I normally need to parse several things in one go.
Additionally, it is more efficient this way, cause otherwise
POV would have to go back to the file with Parse_String,
and I'm using less instances of the macro this way.

--
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: Tim### [at] gmxde

> > #fopen _O "test.tmp" write
> >  #write (_O, "#declare ",_Name,"=Var;\n")
> > #fclose _O
> > #include "test.tmp"
>
> > #fopen _O "test.tmp" write
> >  #write (_O, "#declare Var=",_Name,";\n")
> > #fclose _O
> > #include "test.tmp"
>
> > #fopen _O "test.tmp" write
> >  #write (_O, "#declare ",_Name,"=Var;\n")
> > #fclose _O
> > #include "test.tmp"
>
> Out of curiosity, did you noticed Parse_String macro ?
>
> ABX


Post a reply to this message

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