Re: specifying include directories
- Posted by Matt Lewis <matthewwalkerlewis at gmai??com> May 20, 2008
- 635 views
Jeremy Cowgar wrote: > > Matt Lewis wrote: > > > > ChrisBurch2 wrote: > > > > > > Hi > > > > > > Does this mean that the include location information will be available to > > > your program? Much like getenv, perhaps a getconf function, without > > > actually > > > having to use the search list to hunt for the conf file? > > > > That's not currently in there, but I suppose it could be. You can get the > > information in the option switches that were passed on the command line. > > > > Matt > > I do not think that's entirely true. The parameters that are used by the > interpreter > are consumed by it, from what I can tell in code and example. For instance: You missed a line. :)
include misc.e pretty_print(1, command_line(), {2}) pretty_print(1, option_switches(), {2})
I thought that the switches shouldn't interfere with the normal command line handling, but that it might be useful to have access to it, so I added the option_switches() built-in. And yes, dad, it's on my list of stuff to document.... Matt