# (lambda arguments expression ...)
[GstarCAD 2012](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md)
<a id="208"></a>
## (lambda arguments expression ...)
---
Create a temporary, unnamed LISP function.
---
This function creates another function on-the-fly. It is used when setting all the overhead for a new function is unnecessary. The **lambda** function usually occurs in the middle of another function, and is often used with [apply](%28apply%20function%20list%29.md) or [mapcar](%28mapcar%20function%20list1%20-list2%20...-%29.md) to perform a function on a list.
**Example**
| Code | Returns |
| --- | --- |
| (apply '(**lambda** (a b c) (\+ a (\* b c))) '( 5 2 3)) | 11 |
**Tell me about...**
[(command cmd \[arguments\] ...)](%28command%20cmd%20-arguments-%20...%29.md)
[(defun \[c:\] name (\[arg1 arg2 ...\] / \[local-var1 local-var2 ...\]) expression)](%28defun%20-c-%20name%20%28-arg1%20arg2%20...-%20-%20-local-var1%20local-var2%20...-%29%20expression%29.md)
[(progn statement1 statement2 ...)](%28progn%20statement1%20statement2%20...%29.md)
[LISP Compatibility](../LISP%20Compatibility.md)
[Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md)
<a id="holding"></a>
## Other versions with matching text
[GstarCAD 2011](../../../../2011/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28lambda%20arguments%20expression%20...%29.md)