hi
i need mapcar to iterate each 2 items rather than each item. i sign it with this code
(defun mapcar-x2(lst)
(mapcar
(function
(lambda (a b)
(command "._line" a b)
(princ (strcat "Segment length: " (distance a b) ))
)
)
lst ;_ how to shuffle the list in a way a and b will have not the same number each iteration?
lst
)
)
hope i am unmderstood
Thanks
Shay