Extended Entity Data...

caduser

Usenet Archive
Joined
Jan 1, 2000
Messages
51
Reaction score
0
(setq text "wirecut to size")
(regapp "WCHOLE")
(setq wctext '((-3 ("WCHOLE" (1000 . text)))))
(setq new (append e1 wctext))
(entmod new)

how to put (text "wirecut to size") after 1000 . is't use cons or what
 
thanks you... it's work

Jon Fleming said:
The single quote tells LISP to not evaluate the following expression, so the value of "text" is not evaluated.

(setq text "wirecut to size")
(regapp "WCHOLE")
(setq wctext (list (list (list -3 "WCHOLE" (cons 1000 text))))) (setq new (append e1 wctext))
(entmod new)
 
Back
Top