they both work - I have never made much use of mapcar. but then, I didn't always appreciate the times to use if and when to use a cond statement.
does either one of these have an advantage?
(mapcar 'mode_tile '("dr_gr" "dr_ao" "dr_ex" "dr_pd" "jmb_p") '(1 1 1 1 1))
(foreach z '("dr_gr" "dr_ao" "dr_ex" "dr_pd" "jmb_p") (mode_tile z 1))
thanks