POV-Ray : Newsgroups : povray.newusers : Chicken or the egg? : Re: Chicken or the egg? Server Time
4 Nov 2024 13:33:36 EST (-0500)
  Re: Chicken or the egg?  
From: Christopher James Huff
Date: 13 Dec 2002 17:35:37
Message: <chrishuff-D70DB6.17315813122002@netplex.aussie.org>
In article <3DFA51CE.574CF362@att.net>, LibraryMan <mrm### [at] attnet> 
wrote:

> I just discovered I declared the same object twice, both in the actual
> POV file and once in one of its INC files.  Which version is taking
> precedence?  (I'm not getting any error messages about it).

Assuming you didn't use #local, whichever one is reached last. A 
declaration replaces a previous declaration with the same name and scope.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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