The Visual LISP Console window allows you to execute and check a line of AutoLISP code.
Do one of the following:
This example expects the following text to have been previously entered in the Visual LISP Console window.
(setq origin (getpoint "\nOrigin of inyn sign: ")) (setq radius (getdist "\nRadius of inyn sign: " origin)) (setq half-r (/ radius 2)) (setq origin-x (car origin)) (command "._CIRCLE" origin radius)
Visual LISP retrieves the last text entered and places it at the Console window prompt.
(command "._CIRCLE" origin radius)
The following text displays at the Console window prompt.
(setq origin-x (car origin))
Visual LISP displays the following text at the Console window prompt.
(setq half-r (/ radius 2))
Visual LISP reverses direction and retrieves the previous text and displays it at the Console window prompt.
(setq origin-x (car origin))
Visual LISP displays the following text at the Console window prompt.
(command "._CIRCLE" origin radius)
This was the last text entered at the Console window prompt.
Because the previous text retrieved was the last text entered in the Console window, Visual LISP starts again by retrieving the first text entered in the Console window.
(setq origin (getpoint "\nOrigin of inyn sign: "))