User Tools

Site Tools


ch2_1_or

OR

OR is next LISP macro, implemented as a special form in LabLISP. Accepts any number of arguments. The arguments are evaluated in sequence, until one of them returns something else than NIL. Then the last result is returned from the form and the rest is ignored. Eventually, the result of the last form is returned.

(or f1 f2 f3)            ; syntax of OR

See also IF, PROGN, WHEN, UNLESS, AND

ch2_1_or.txt · Last modified: 2022/02/24 23:50 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki