DADiSP Worksheet Functions > Function Categories > Worksheet Control > SETCONF
Sets a configuration parameter to a specified value as a string.
SETCONF("param", "value")
"param" |
- |
A string. The name of the configuration parameter to set. |
"value" |
- |
A string. The value for the configuration setting. |
A string, the value to which the specified parameter was set.
setconf("beep", "0")
turns the beeper off.
setconf("readt_bufsize", caststring(131072))
sets the line length for READTABLE to 128K characters.
The value parameter must be a string even if the actual parameter is numeric. See CASTSTRING to convert a value to a string.
See SETCONFIG for a similar function that accepts a numeric for the value parameter.
See the configuration file dadisp.cnf for a list of configuration parameters.
Although SETCONF overrides settings contained in the dadisp.cnf configuration file, it does not alter dadisp.cnf in any way.
dadisp.cnf (configuration file)