Variable Entry: NIL
← Prev | ↑ Chapter | Next → | Index | Symbols
Variable Entry: NIL
Name
nil
Class
Predefined value
Value Type
Distinguished object.
Initial Value
Itself.
Description
nil is the canonical false value and the canonical empty-list value.
Autodesk documentation sampled here does not describe nil as a separate type designator. Instead, it describes nil through its behavior:
- as the value recognized by
nullandnot, - as the empty list accepted by
listp, - as a value for which
(type nil)returns nil.
Affected By
- conditional evaluation
- list-processing functions
- type and predicate functions
Exceptional Situations
None specific to nil as a predefined value are documented in the sampled corpus.
Examples
(null nil) => T(not nil) => T(listp nil) => T(type nil) => nil
Compatibility
This entry is intentionally written as a predefined value entry, not a type entry.
Notes
This specification avoids importing the Common Lisp distinction between the nil type and the null type into AutoLISP unless vendor evidence later requires it.
Availability
- AutoCAD 2026: documented (per Autodesk reference page).
- BricsCAD V26: presumed compatible (no contradicting page found).
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [type (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/PLK/AutoCAD-LT-AutoLISP-Reference/files/GUID-506C9CC8-B0BD-4A4C-B4C2-006750504509.htm)
- [listp (AutoLISP)](https://help.autodesk.com/cloudhelp/2024/CHS/AutoCAD-AutoLISP-Reference/files/GUID-8755F083-D3BA-45F0-BBAF-D60D3A73240C.htm)
- [null (AutoLISP)](https://help.autodesk.com/cloudhelp/2016/DEU/AutoCAD-AutoLISP/files/GUID-2CA2E5F1-297F-4ECA-9500-5FFCD4877126.htm)
- [not (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/ESP/AutoCAD-MAC-AutoLISP-Reference/files/GUID-991AD6A0-61AA-45C9-8C27-CADF9F36BE71.htm)
- Status: documented by behavior.