Function Entry: DEFUN-Q-LIST-SET
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: DEFUN-Q-LIST-SET
Name
defun-q-list-set
Class
Function
Syntax
(defun-q-list-set 'sym list)
Arguments and Values
sym: a symbol naming the function to define or redefinelist: a list-structured function definition
Description
Defines or redefines a function from a list-structured compatibility representation.
Together, defun-q, defun-q-list-ref, and defun-q-list-set form the compatibility triad for programs that manipulate function definitions as list data.
Return Values
Under-specified in the current source set.
The function-handling summary identifies it as a compatibility function that "defines a function as a list", but the dedicated page was not collected in this pass.
Side Effects
- defines or redefines the named function
- installs a list-based compatibility definition
Affected By
- validity of the supplied list structure
- compatibility behavior of the active dialect
Exceptional Situations
Under-specified in the current source set.
At minimum, invalid list structure should be expected to be erroneous, but the exact contract still needs the dedicated Autodesk page.
Examples
The current source set does not yet contain a fully documented vendor example for this function.
Compatibility
- documented by Autodesk as part of the function-handling family
- intended for backward compatibility only, like
defun-q
Notes
This function is important because it implies that the defun-q list representation is not only inspectable but writable.
That makes the preserved list representation semantically active, not merely descriptive.
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
- [Function-Handling Functions Reference](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-6804DF2D-E5C4-466A-9869-3CDD7A031FAA.htm)
- [D Functions Reference](https://help.autodesk.com/cloudhelp/2022/ENU/AutoCAD-AutoLISP-Reference/files/GUID-76EE3904-E89B-441A-84FD-C0AB3289742C.htm)
- Status: partially documented; dedicated per-function page still needed.