You can complete new lines of AutoLISP code by quickly matching previously entered lines of code.
This example expects that the following code has been previously entered at the Console window prompt:
(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)
(c
(command
If that is not the word you are looking for, press Ctrl+Spacebar again. The next word that begins with the letter “c” is displayed:
(car
If you keep pressing Ctrl+Spacebar after Visual LISP finds the last matching word, Visual LISP repeats the retrieval sequence. (Note that you can also click Search Complete Word by Match from the Visual LISP menu bar instead of pressing Ctrl+Spacebar to invoke the Match feature.)
If Visual LISP does not find any matching words, it does nothing.
You can use Complete Word by Match in either the Console window or the text editor window. When you invoke the feature from the Console window, Visual LISP only searches the Console for a match; when invoked from a text editor window, Visual LISP only searches that editor window for a match.