IF
(if test-form then-form else-form)
(if (eql saved-symbol password)
(print "pass")
(print "fail"))
If the test returns non-NIL, executes the THEN part and returns its value
Else executes the ELSE part and returns its value
ELSE part is optional
Previous slide
Next slide
Back to first slide
View graphic version