Prev: JIM W. DEAN: FAKED ISRAELI FLOTILLA VIDEOS PROVIDE OPENING TO EXPOSE ISRAELI EXPIONAGE HERE
Next: Job Opening at SRI International
From: Adam Majewski on 5 Jul 2010 16:57 Hi, I try to make complex number : (defvar s) (setq s 600) (defvar pos) (setq pos #c(s 100)) and get error : ;Argument REALPART is not a REAL: S ; [Condition of type SIMPLE-TYPE-ERROR but when change last statment to : ( setq pos #c(600 100)) all is good. I do not know why . Adam
From: Frode V. Fjeld on 5 Jul 2010 17:15 Adam Majewski <adammaj1(a)o2.pl> writes: > (setq pos #c(s 100)) and get error : The function for creating a complex is called COMPLEX. That is, "(complex s 100)" should do what you want. The #c reader macro will not (can not) evaluate its parameters. -- Frode V. Fjeld
From: Adam Majewski on 6 Jul 2010 11:09
Dnia Mon, 05 Jul 2010 23:15:12 +0200, Frode V. Fjeld napisaĆ(a): > Adam Majewski <adammaj1(a)o2.pl> writes: > >> (setq pos #c(s 100)) and get error : > > The function for creating a complex is called COMPLEX. That is, > "(complex s 100)" should do what you want. The #c reader macro will not > (can not) evaluate its parameters. Thx for answer. Adam |