GETCONF - DADiSP

DADiSP Worksheet Functions > Function Categories > Query Functions > GETCONF

 

GETCONF

Purpose:

Returns the value as a string of the specified configuration parameter.

Syntax:

GETCONF("param")

"param"

-

A string, the configuration parameter to return.

Returns:

A string, the current configuration value as a string.

Example:

getconf("beep")

 

returns "1" if the beeper is ON, "0" if the beeper is OFF.

Remarks:

GETCONF always returns a string. See GETCONFIG to return numeric configuration values as numeric.

 

If the configuration parameter does not exist, a zero length string is returned.

 

See the configuration file dadisp.cnf for a list of configuration parameters.

See Also:

AUTOCONFIG

CASTSTRING

dadisp.cnf (configuration file)

GETCONFIG

SETCONF

SETCONFIG

WRITECNF