User Tools

Site Tools


ch2_1_and

AND

AND 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 NIL. In that case the rest is ignored and whole form returns NIL. Eventually, the result of the last form is returned.

(and f1 f2 f3)            ; syntax of AND

See also IF, PROGN, WHEN, UNLESS, OR

ch2_1_and.txt · Last modified: 2022/02/24 13:55 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki