PDA

View Full Version : variables in alisp



joker
6th Oct 2004, 02:58 am
Can someone tell me why this alisp doesn't work?

(setq w 10)
(setq h 83)
(setq x1 5)
(setq y1 30)
(setq p1 '(x1 y1 0))

X1 in the last line seems to return an error.

Thanks

hendie
6th Oct 2004, 08:23 am
try

(setq P1 (list x1 y1 0))