DADiSP Worksheet Functions > Function Categories > Worksheet Control > SETCONF

 

SETCONF

Purpose:

Sets a configuration parameter to a specified value as a string.

Syntax:

SETCONF("param", "value")

"param"

-

A string. The name of the configuration parameter to set.

"value"

-

A string. The value for the configuration setting.

Returns:

A string, the value to which the specified parameter was set.

Example:

setconf("beep", "0")

 

turns the beeper off.

Example:

setconf("readt_bufsize", caststring(131072))

 

sets the line length for READTABLE to 128K characters.

Remarks:

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.

See Also:

AUTOCONFIG

CASTSTRING

COMMAND LINE FLAGS

dadisp.cnf (configuration file)

GETCONF

GETCONFIG

SETCONFIG

WRITECNF