Name-space proposal
- Posted by Bernie Ryan <xotron at blu?frog.?om> Aug 02, 2007
- 510 views
Anybody: If name-space worked in this way it would solve a lot of problems. If a program contains a function foo()in the local main file and another file is included containing a foo() function. The interpeter would not stop but continue using the foo() function in the local main file. When the program ends; the program would issue a warning that there is a duplicate function foo() exists in include file xxx.e just as it lists unused constants etc. This would eliminate breaking code and allow debugging. There could also be a special flag Example: with_out_name_space to turn this on/off Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan