Returns the first element of a list
Supported Platforms: Windows and Mac OS
(car list)
Type: List
A list with one or more elements.
Type: Integer, Real, String, List, T or nil
The first element in list; otherwise nil, if the list is empty.
In AutoLISP, car is frequently used to obtain the X coordinate of a 2D or 3D point (the first element of a list of two or three reals).
(car '(a b c)) A (car '((a b) c)) (A B) (car '()) nil