private include files
- Posted by Derek Parnell <ddparnell at bigpond.com> Oct 12, 2004
- 420 views
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. -- Derek Parnell Melbourne, Australia