Arc Forumnew | comments | leaders | submitlogin
2 points by stefano 6029 days ago | link | parent

You don't really need to use eval:

  (mac assign (name expr)
    `(= ,name ,expr))
then (assign k 3) will be expanded to (= k 3).


2 points by zhtw 6029 days ago | link

No. You didn't understand. I meant exactly what I wrote. I want to assign a value to variable which name is stored in the variable "name".

-----