getvar

(getvar variable)

The getvar function retrieves global or local system variable settings. The name of a valid system variable must be passed to the function as a string.

Examples

: (getvar "CMDECHO")

1

: (getvar "CLAYER")

"DIM"

Related Functions

setvar