Re: private include files

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

On 11 Oct 2004, at 21:39, Derek Parnell wrote:

> 
> 
> posted by: Derek Parnell <ddparnell at bigpond.com>
> 
> Has anybody got any thoughts about extending the 'include' system so
> that anything included can only been 'seen' by the file that included it.
> 
> For example, if we have ...
> 
>    private include abc.e
> 
> then only the file that has that line can see the 'globals' that are
> defined inside "abc.e". So if another file wants to see them they also
> have to explictly include "abc.e".  Further more, if "abc.e" has
> already been included without the private qualifier, that will no cause
> any conflicts.
> 
> This is just a quick spur-of-the-moment thought, so it probably has
> got issues with it.
> 
> It would certainly help me with many of the projects I'm working on.

It's in Bach. I believe RobC said "no way". I voted for it, but you know me, i'd
vote for anything to make writing up a program easier!

Kat

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

Search



Quick Links

User menu

Not signed in.

Misc Menu