Toggle() action

Description
Allows various run-time resources (settings) to be displayed and modified.

Available settings are listed under run-time settable resources.

A variant of Toggle is the Set action.

Parameters
If no parameters are specified, the names and values of all run-time settings are returned, one per line.

If one parameter is specified, the value of a single Boolean setting is inverted.


 * name
 * Name of setting to invert

If two parameters are specified, the value of a setting is changed to the specified value. The setting does not need to be a Boolean type.


 * name
 * Name of setting to display


 * value
 * New value

Pairs of names and values can be repeated to modify multiple settings.

Examples
Display all settings. Toggle Invert one setting. Toggle(monoCase) Change one setting. Toggle(monoCase,True) Change multiple settings. Toggle(monoCase,True,typehead,True)