As you step through a program, you may want to monitor the values resulting from the evaluation of individual expressions.
*LAST-VALUE* IDE global variable. VLISP always stores the value of the last evaluated expression in the *LAST-VALUE* variable.VLISP displays the Watch window, which shows the value of the
Watch Window from the VLISP menu.If the Watch window is not already open and you want to view a variable's value, you can open the window by choosing View
If you click the Watch window's Add Watch button without double-clicking on a variable name first, the following window appears:
In this window, you can enter the name of the variable you want to view. VLISP may anticipate your choice by copying the name of the variable nearest the cursor into the window. If this is not the one you want to view, simply type over the name.
VLISP updates the variables in the Watch window after each execution step.
nil at first, but after execution it took on the value corresponding to the point you clicked in the AutoCAD window.In the Watch window, note how the value of origin-y changes. It was