Re: Idea for NameSpace-problem

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

Ok, I admit I haven't been paying too much attention to what other people
have suggested, or even the actual problem, but how about this idea:

eg If libraries red.e and blue.e both have procedures named window, hide,
show and order.

include red.e
setname window as Rwindow,
        hide as Rhide,
        order as null        -- this exludes the procedure 'order'

include blue.e
setname hide as Bhide,
        show as Bshow

After this the procedures for red.e are:
Rwindow
Rhide
show

And for blue.e they are:
window
Bhide
Bshow
order

No more name conflicts, any problems with this?
(don't flame me all at once :) )

-Molasses

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

Search



Quick Links

User menu

Not signed in.

Misc Menu