Function Entry: LIST

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: LIST

Name

list

Class

Function

Syntax

(list [expr ...])

Arguments and Values

  • zero or more expressions

Description

Evaluates its arguments and constructs a list containing their values.

Return Values

A list containing the argument values.

If no expressions are supplied, list returns nil.

Side Effects

Side effects are those of evaluating the argument expressions.

Examples

  • (list 'a 'b 'c) => (A B C)
  • (list 'a '(b c) 'd) => (A (B C) D)
  • (list 1 2 3) => (1 2 3)
  • (list) => nil

Notes

Autodesk explicitly notes that list is frequently used to construct 2D or 3D point values.

The dedicated page also notes that a quoted list literal may be used instead of list when there are no variables or undefined items in the list.

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.