(append list1 list2 ...)


Add everything in this list to an existing list.


This function adds list2 to list1. The list2 element is a list of a single item. You can append multiple lists.

Examples

Code Returns
(setq m '(A B C D E F)) (A B C D E F)
(append m '(G)) (A B C D E F G)
(setq m (append m '(G H I) (LIST 1 2 3))) (A B C D E F G H I 1 2 3)
(append) nil

Tell me about...

(acad_strlsort list)

(length list)

(listp item)

(nth integer list)

(reverse list)

(substr string start [length])

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language