cons - This function takes an item and a list, and returns the addition of that item to the beginning of the list.
Syntax : (cons Item list)
(cons) returns "Error: Too Few Arguments"
(cons 1) returns "Error: Too Few Arguments"
(cons 1 2 3) returns "Error: Too Many Arguments"
(cons "abc" (list "foo" "bar" "zot")) returns ("abc" "foo" "bar" "zot")
(cons 1 (list 2 3)) returns (1 2 3)
| filename: | AutoCAD LISP - CONS |
| filename: | AutoCAD%20LISP%20%2D%20CONS |
| last edit: | August 31 2012 15:02:12 (-3574135 minutes ago) |
| ct | = 1131991596.000000 = November 14 2005 13:06:36 |
| ft | = 1346439732.000000 = August 31 2012 15:02:12 |
| dt | = -214448136.000000 |