Skip to content

cons

(cons element list-or-atom)

With a list, returns it with the element in front. With an atom, creates a dotted pair, like those of entget.

(cons 0 '(1 2))   ; (0 1 2)
(cons 8 "Walls")  ; (8 . "Walls")

Download LinceCAD Manual contents