Set() action
Set() allows various run-time resources (settings) to be displayed and modified.
A related action is the Toggle() action, which flips the value of a Boolean setting.
Parameters
If no parameters are specified, the names and values of all run-time settable resources are returned, one per line.
If one parameter is specified (without =
and a value), it names a resource, the value of that resource is returned.
- name
- Name of resource to display
Otherwise the parameters are of the form name=value, or are given as pairs, where the first is the name and the second is the value.
- name
- Name of resource to change
- value
- New value
Examples
Display all resources.
Set()
Display one resource.
Set(monoCase)
Change one resource.
Set(monoCase,true) Set(monoCase=true)
Change multiple resources.
Set(model,3279-2-E,oversize,81x24) Set(model=3279-2-E,oversize=81x24) Set(model=3279-2-E,oversize,81x24)