Re: Namespace request

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

Jason Gade wrote:
> 
> Rob, can you change namespacing so that more than one file can be included
> into
> the same namespace?
> 
> Here is an example of what I want to do:
> 
> include misc.e as rds
> include machine.e as rds
> include dll.e as rds
> 
> Currently the interpreter gives an error.
> 
> Rationale: I want to use namespaces in a file that is intended to be included
> by another so as to avoid conflicts in user programs. But when I know that
> there
> will be no conflicts within the files that I'm including I don't want to make
> a new namespace for every single include. This will also help prevent
> namespace
> pollution by reducing the number of unique namespaces that a program needs to
> come up with.
> 
> --
> "Any programming problem can be solved by adding a level of indirection."
> --anonymous
> "Any performance problem can be solved by removing a level of indirection."
> --M. Haertel
> j.

Hi there,


So i guess you're saying you want to include multiple files under the
same namespace so functions can be called in multiple files using
the same prefix...interesting...



Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

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

Search



Quick Links

User menu

Not signed in.

Misc Menu