Re: [RC] Lucius tries to use namespace

new topic     » goto parent     » topic index » view thread      » older message » newer message

Just to put in my two cents here, but I think any include file given a
namespace which is not at the top level (i.e. buried somewhere in another
file) should be *ignored* at the top level. by this, i mean include files
with namespaces should only be local to the file calling them. so if I do
this:

include file1.ew                -- available to all
include file2.ew as f2        -- available to this file only


then I can access the global routines from file1.ew anywhere I want, but
file2.ew routines will only be available to the file including file2.ew.
this way, if I do include file2.ew in my top-level program, or somewhere
else, I won't run into namespace issues.

~Greg
g.haberek at comcast.net

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu