Re: Name-space proposal
- Posted by Matt Lewis <matthewwalkerlewis at g?ai?.com> Aug 02, 2007
- 479 views
Bernie Ryan wrote: > > Matt: > > That is not what I mean: > > I write program with no name-space includes. > > I have a function called abs() in my program and I > include some file that also has a function called abs() > contained in it. > > The interpeter will abort giving an name-space error. > > I want the interpeter to just continue to run the program > and report the error as warning when it exits. > > This way you don't have to keep starting/stopping to correct > name-space errors or this would allow you to run a program > using your own abs() function instead of another abs() in > someone's include file. > > This would be like over-riding a function. I'm not sure I understand what you're asking for, exactly, or how the interpreter should deal with it. Is it similar to what was discussed in this thread?: http://www.openeuphoria.org/cgi-bin/esearch.exu?thread=1&fromMonth=6&fromYear=8&toMonth=8&toYear=8&keywords=%22another+look+at+namespaces%22 In any case, please post a test case (read: actual code) that illustrates the issue, and describe how the interpreter should handle it. Matt