setvar

(setvar variable_name value)

The setvar function sets a local or global system variable, variable_name, to the value supplied in the argument.

The setvar function sets a local or global command variable, variable_name, to the value supplied in the argument.

Return Value

The function returns the new value of the system variable.

The function returns the new value of the command variable.

Examples

(setvar "CMDECHO" 1)

Related Functions

getvar