Re: Do you currently use namespaces?
- Posted by Jeremy Cowgar <jeremy at ?owg?r.com> May 26, 2008
- 1047 views
-- filea.e
global procedure hello() puts(1, "filea: hello\n") end procedure
-- fileb.e
include filea.e as a global procedure hello() puts(1, "fileb: hello\n") end procedure
-- myprog.ex
include fileb.e as b b:hello() -- prints "fileb: hello"
myprog.ex cannot access a:hello() in any way. It would have to directly include filea.e to access filea.e's hello() -- Jeremy Cowgar http://jeremy.cowgar.com