Re: Idea for NameSpace-problem

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

How about this,
eg the libraries red.e and blue.e both contain the procedures window, hide,
show and order.

include red.e
setname window as Rwindow,
        hide as Rhide,
        order as NULL   -- this would exclude the procedure 'order'

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


red's procedures would then be:
Rwindow
Rhide
show

and blue's would be:
window
Bhide
Bshow
order

Simple, neat, no more name conflicts, any problems with this?

-Molasses

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

Search



Quick Links

User menu

Not signed in.

Misc Menu