(length list)


Determine how many items are in that list.


This function returns number of items in list. The number returned is an integer.

Example

Code Returns
(setq b ' ( 1 2 3 4)) (1 2 3 4)
(length b) 4

Tell me about...

(car list)

(cdr list)

(last list)

(nth integer list)

(reverse list)

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

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language