(or statement ...)


Calculate the logical OR.


This function performs a logical OR to the statements 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 ...)

(equal statement1 statement2 [tolerance])

(logior integer1 integer2 )

(setq symbol1 statement1 [symbol2 statement2] ...)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language