# (or statement ...) [GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md) <a id="238"></a> ## (or statement ...) --- Calculate the logical OR. --- This function performs a logical OR to the *statement*s that precede it. If at least one of the statements is true, LISP returns a T. If all are false, LISP returns nil. ### Examples | Code | Returns | | --- | --- | | (setq x nil) | | | (setq y 8\) | | | (**or** x y 15.1) | T | | (**or** nil x) | nil | **Tell me about...** [(and expression ...)](%28and%20expression%20...%29.md) [(equal statement1 statement2 \[tolerance\])](%28equal%20statement1%20statement2%20-tolerance-%29.md) [(logior integer1 integer2 …)](IDR_LISP_B218.md) [(setq symbol1 statement1 \[symbol2 statement2\] ...)](%28setq%20symbol1%20statement1%20-symbol2%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 2012](../../../../2012/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28or%20statement%20...%29.md)