[Contents] · [Home] · [Mail]

SALIERI Language - set

Type:
set: () -> ()
set: string -> ()
set: string x string -> ()

Call syntax:
set()
set(templStr)
set(setStr, valStr)

Description:
set is used to inspect and modify system settings from the command-line.

set() displays all the system settings and their current values. The system settings available will depend on the version of the SALIERI System.

set(templStr) displays all system settings the names of which match the template string templStr, and their values; the template string may contain an arbitrary number of asterisks ("*") representing arbitrary character strings.

set(setStr, valStr) sets system setting setStr to value valStr. Values of system settings generally have to be specified as strings, even if they are numeric.

Error conditions:
If in set(setStr, valStr) an invalid setting name is specified, the command has no effect and no error condition occurs. If a valid setting name but an invalid value is specified, the setting might be set to an invalid or meaningless value.

Example:
> set()
Settings matching *:
debug=on
dispTags=on
midiHoldFactor=0.80
noteNames=diatonic
objDelMode=inform
objOvrMode=silent
seqDispFormat=long
stdInstr=0
stdIntens=80
stdTempo=100
> set("std*")
Settings matching *:
stdInstr=0
stdIntens=80
stdTempo=100
> set("stdInstr","12")
> set("stdInstr")
stdInstr=11

See also: get, System Settings.


[Contents] · [Home] · [Mail]
© sic!systems, page frame designed by hh; this page has been automatically generated from the SALIERI Documentation Database.