Re: ver 4 and ver 3.11 function name conflicts
- Posted by jeremy (admin) Sep 03, 2008
- 1072 views
euphoric said...
Is the "default namespace" for a file the filename sans extension? or is it otherwise defined?
There is no automatic default namespace, nor a rule on what a default namespace has to be nor does the docs currently say what the default namespace is We just started using them and have not yet documented that.
You could have:
-- yugo.e namespace porche function win_race() -- myprog.ex include yugo.e ? porche:win_race()
As a standard in the std library I think it will be the filename but we have not discussed that and there may be cases where it does not make sense to be. For instance:
ifdef DOS32 then include dos_racer.e elsifdef WIN32 then include win_racer.e end ifdef racer:start()
Jeremy