Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Circumflex accent before c IN LISP

I'm studing lisp and I found this: (zoom in)^C ^C , but the text don't explain it, and I searched "^C ^C" in other places but didn't found anything. Can someone here help-me?

(I'm studying english yet, sorry if I wrote anything wrong)

like image 622
FERNANDO MESQUITA Avatar asked Jul 15 '11 20:07

FERNANDO MESQUITA


1 Answers

"^C^C" is not AutoLisp; that would be for/is the macro language for menus and such.

Caret-C does "mean" CTRL-C.

What it does in the macro language:

^c means: cancel
^c^c means: cancel twice.

In AutoCAD we hit the ESC key (twice to cancel a command). The ^C^C is "good practice". -i.e. Before we issue or start a new command we cancel any current command.

The equivalent in AutoLisp would be:

(command) (command)

or

(repeat 2 (command))
like image 164
John Kaul Avatar answered Sep 30 '22 19:09

John Kaul