eqivalent for 'eq'
Posted: Fri Apr 15, 2005 10:30 am
Is there a eqivalent for a alisp command 'eq' in newLISP?
(eq expr1 expr2)
eq gives true when both expr are connected to the same object.
(eq expr1 expr2)
eq gives true when both expr are connected to the same object.
Code: Select all
(setq f1 '(a b c))
(setq f2 '(a b c))
(setq f3 f2)
(eq f1 f3) => nil {not the sane lists}
(eq f3 f2) => true {the same lists}