Product Site

5.1.5.2. defaultOptions (Class Method)

This method allows to define the default package settings of programs (packages) that get loaded or required. Note: if options are explicitly set in a called or required program (package), then such options will prevail, i.e., they will not get changed.

The following are valid options. (Only the first capitalized letter is needed; all characters following it are ignored.)
DefineDefaultOptions

returns the current default options settings formatted as an ::OPTIONS directive. If the second argument is given, then it needs to be formatted as an ::OPTIONS directive and determines the new default package options.
CountOverrides

returns its current value, which by default is set to 0 which inhibits that overrides using the defined default package options take place. Supplying a positive value as the second argument will set this option and determines the number of times an override with the defined default package options should take place. A negative number like -1 will cause the overriding to be always applied.

Note

It is possible to override individual package options by taking advantage of options.