In order to be able to override the package options when running a program it is important to locate
the correct locations for the overrides. Going throught the interpreter source code it seems that
one candidate would be Package::runProlog(), which has the following comment:
"Install this package, including running of the prolog portion of the package if
required."
So if there was an override PackageSettings available which should be applied to override the
package options, then one could apply them first thing in Package::runProlog(), would that be o.k.
or are there side effects that need to be accounted for? (Speculating that this location would also
allow for changing trace options while installing the package as well as applying the NOPROLOG
option, if the programmer sees a need for it (e.g. for deferring running the prolog for debugging or
profiling and the like).)
---rony
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel