POV-Ray : Newsgroups : povray.text.tutorials : #declare vs. #local Mojo : #declare vs. #local Mojo Server Time
5 Oct 2024 15:13:08 EDT (-0400)
  #declare vs. #local Mojo  
From: clipka
Date: 24 Jun 2015 20:26:44
Message: <558b4ac4$1@news.povray.org>
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.