Displaying the Value of a Variable
From AutoCAD AutoLISP & Visual LISP
To display the current value of a variable when working in Visual LISP, just enter the variable name at the Console prompt as follows:
_$ abc
3.875
To display the value of a variable from the AutoCAD Command prompt, you must precede the variable name with an exclamation point (!). For example:
Command: !abc
3.875