(quote statement)


Create a list.


When you want LISP to treat the statement literally, you use the quote function. Quote prevents LISP from evaluating the statement. The single quote symbol (') is used as a shortcut for the quote function; the two are interchangeable.

 

Examples

Code Returns

(quote a)

A

(setq x '(1 2 3 4))

(1 2 3 4)

(setq x (quote (1 2 3 4)))

(1 2 3 4)

 

Tell me about...

(lambda arguments expression ...)

(list expression …)

(setq symbol1 statement1 [symbol2 statement2] ...)

(type item)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language

 


Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved.