execute multiple statements in an "if" statement
· One min read
- use
progn
(defun MyFunction(input)
(let ((NEWNUM (find input num)))
(if (find input num) ; if this
(progn
(setq num NEWNUM)
(FUNCT2)) ; then execute both of these ;
(list 'not found)))) ; else output this