POV-Ray : Newsgroups : povray.general : POV-Ray Includes - Standards : Re: POV-Ray Includes - Standards Server Time
31 Jul 2024 22:11:14 EDT (-0400)
  Re: POV-Ray Includes - Standards  
From: Chris Cason
Date: 30 Nov 2006 07:20:56
Message: <456ecca8$1@news.povray.org>
[Chris B]
>> For example, using #local in include files wherever you don't need to expose
>> them externally.

Overall I am strongly in favor of some system whereby the only things exposed
from a specialized object or macro include file are those things the author
intends to expose, that is, by explicit declaration. C++ uses namespaces,
perl uses modules, other languages have their own ways; whatever, the point
is intelligent management of exposed symbols.

[nemesis]
> i just wish #local would also be local to macros.  oh well...

Recall I mentioned changes to SDL are possible. Not necessarily the above,
perhaps, but something that gives us the same effect. Basically if enough of
you think it's needed, tell me and we'll give it some thought. Some things
might not be possible with the current parser but we'll at least consider it.

-- Chris Cason


Post a reply to this message

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