To Retrieve Text Entered in the Console Window (Visual LISP IDE)

The Visual LISP Console window allows you to execute and check a line of AutoLISP code.

Note: The Visual LISP IDE is available on Windows only.

Do one of the following:

Example

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)
  1. In the Visual LISP Console Window, press Tab once.

    Visual LISP retrieves the last text entered and places it at the Console window prompt.

    (command "._CIRCLE" origin radius)
  2. Press Tab again.

    The following text displays at the Console window prompt.

    (setq origin-x (car origin))
  3. Press Tab again.

    Visual LISP displays the following text at the Console window prompt.

    (setq half-r (/ radius 2))
  4. Press Shift+Tab.

    Visual LISP reverses direction and retrieves the previous text and displays it at the Console window prompt.

    (setq origin-x (car origin))
  5. Press Shift+Tab again.

    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.

  6. Press Shift+Tab again.

    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: "))
Note: Expressions entered more than once, only appear once as you cycle through the Console window’s history. You can perform an associative search on the history to retrieve specific text that was previously entered.