GETCONFIG

Purpose:

Returns the value of the specified configuration parameter.

Syntax:

GETCONFIG("param")

"param"

-

A string, the configuration parameter to return.

Returns:

A real, integer or string, the value of the configuration parameter.

Example:

getconfig("beep")

 

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

Remarks:

Unlike GETCONF, GETCONFIG returns a numeric value if the configuration parameter value is numeric.

 

If the configuration parameter does not exist, an error occurs.

 

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

See Also:

AUTOCONFIG

CASTSTRING

dadisp.cnf (configuration file)

GETCONF

SETCONF

SETCONFIG

WRITECNF