POV-Ray : Newsgroups : povray.text.tutorials : #declare vs. #local Mojo : #declare vs. #local Mojo Server Time
27 Nov 2021 20:56:22 EST (-0500)
  #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-2021 Persistence of Vision Raytracer Pty. Ltd.