POV-Ray : Newsgroups : povray.binaries.animations : Uberpov persistent feature for animation of big scene : Re: Uberpov persistent feature for animation of big scene Server Time: 26 Feb 2021 22:37:17 GMT
  Re: Uberpov persistent feature for animation of big scene  
From: Kenneth
Date: 8 Jan 2018 02:50:01
clipka <ano### [at] anonymousorg> wrote:

>
> Nonono...
>
> The first time the macro is invoked, `FOO` isn't defined yet, so the
> `#ifndef(FOO)` block is entered, which contains a `#declare FOO`
> statement. That statement defines a global variable named `FOO` that
> sticks around even after the macro is long gone.
>
Oops, I didn't 'see' that FOO was #declared (rather than #local-ed.) Understood.
Sorry for that confusion.


Post a reply to this message

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