I have an exercise this morning I'm working on and thought why not make use of the time to learn more about mapcar/lambda.
I have four variables:
front back rside lside
If any of these variables contains the value of "Y" I want to take some action. I've been doing this in the past:
(if (or (= front "Y") (= back "Y") (= rside "Y") (= lside "Y")) (setq a "Y"))
All the mapcar examples I've searched through so far show how to add 1, subtract 2, strcase, etc... How would one run this process through mapcar/lambda to achieve the same results?