(setcfg parameter value)


Set the parameter to the value.


This function changes data in the [AppData] section of the Icad.Cfg file, if it exists. The value can be any text or number. The parameter is a string with the following format:

"AppData/appname/sname/parameter"

where:

Cfg Name Meaning
AppData The [AppData] section.
appname The name of the application.
sname The section name.
parameter The parameter name.

Example

Code Returns
(setcfg "appdata/appname/sname/parameter" "56") "56"

Tell me about...

(getcfg parameter)

(setenv variable value)

(setvar sysvar value)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language