Re: finally upgrading to openeu4
- Posted by evanmars Feb 14, 2013
- 1519 views
From Section 4.8.2 with / without
http://openeuphoria.org/docs/lang_toplevel.html#indirect_includes
indirect_includes, This with/without option changes the way in which global symbols are resolved. Normally, the parser uses the way that files were included to resolve a usage of a global symbol. If without indirect_includes is in effect, then only direct includes are considered when resolving global symbols.
This option is especially useful when a program uses some code that was developed for a prior version of Euphoria that uses the pre-4.0 standard library, when all exposed symbols were global. These can often clash with symbols in the new standard library. Using without indirect_includes would not force a coder to use namespaces to resolve symbols that clashed with the new standard library.
Note that this setting does not propagate down to included files, unlike most with/without options. Each file begins with indirect_includes turned on.