Function Entry: APPLY
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: APPLY
Name
apply
Class
Function
Syntax
(apply 'function list)
Arguments and Values
'function: a symbol (defun name) or a lambda expression.list: a list of arguments, or nil if the function takes no arguments.
Description
Passes a list of arguments to, and executes, the specified function. The function may be a built-in operator, a user-defined function, or a lambda expression.
Return Values
Returns whatever the called function returns: integer, real, string, list, ename, T, or nil.
Side Effects
Side effects are those of the called function.
Examples
(apply '+ '(1 2 3))returns6.(apply 'strcat '("a" "b" "c"))returns"abc".
Availability
- AutoCAD 2026: documented.
- BricsCAD V26: presumed compatible (no contradicting page found).
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [apply (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-0574ADA0-0950-456A-9330-A2518421536E.htm)
- Status: documented (Phase 3 body fill).