Re: Namespaces

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

irv mullins wrote:
> 
> 
> unknown wrote:
> >
> > I support the request for NSQ's to be made better as suggested in a 
> > previous post.
> > 

<some snippage occurred>

> I would like to put all those "include...." lines in a separate "wrapper" 
> file, which could be included via one line at the top of each program. 
> But that's not possible, because namespaces aren't passed on. 

<more snippage occurred>

> Here are a couple of possibilities:
> 1. Fix the namespacing so it can be inherited.
> or
> 2. Add a new command which simply copies a file into the source at the 
> place the command is found: IOW, an automatic source code "merge".
> 
> call it "merge otherfile.e",
> or "import otherfile.e", or whatever you like. It should be simple to 
> implement.

Yes, please. Please, yes. Yes, yes, yes. Please, please, please.

> I can think of other uses for something like this, such as copying long 
> boilerplate text into a program. The boilerplate could then reside in a 
> separate file which could be edited without having to mess with the source 
> code. 

Please, please, please. Yes, yes, yes. Please, yes. Yes, please.

Thank you.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu