POV-Ray : Newsgroups : povray.text.tutorials : #declare vs. #local Mojo : Re: #declare vs. #local Mojo Server Time
27 May 2024 08:34:49 EDT (-0400)
  Re: #declare vs. #local Mojo  
From: Cousin Ricky
Date: 10 Sep 2015 17:15:00
Message: <web.55f1f1d08cf046eadb6413070@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Some fun(?) fact to know:
> If, in an include file or macro, you use #declare with an identifier
> that already happens to exist at a non-global scope, you will NOT change
> the corresponding global variable, but the most local variable of that name.
> Expected that? I didn't.


Post a reply to this message

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