it's very simple

caderudite

Usenet Archive
Joined
Jul 28, 2003
Messages
17
Reaction score
0
hi there,
I want to specify P2 which is 15units X and 15units Y from P1. (setq P2 (list (+ (car P1) 15 (+ (cadr P1) 15)))) what's wrong thanks
 
(setq P2

(list

 (+ (car P1) 15);<--- needed paren here

 (+ (cadr P1) 15)

)

)

 

"caderudite" <> wrote:

hi there,
I want to specify P2 which is 15units X and 15units Y from P1. (setq P2 (list (+ (car P1) 15 (+ (cadr P1) 15)))) what's wrong thanks
 

Latest threads

Back
Top