Try this:
(format t "setting ~S~% to ~S" ',v ,value)
^^
-------------------------------||
>
> how can i print the variables name?
> ciao
> kp
>
> --
> superegos talker
Beware of what this will do if the VALUE form has side effects. E.g. take
a look at (macroexpand '(setf a (incf b))). Solving the problem is an
exercise for the reader.
--
Barry Margolin, bar...@genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
Didn't you mean, "LET the reader beware"...? ;-} ;-}
(Sorry, couldn't resist.)
-Rob
-----
Rob Warnock, 41L-955 rp...@sgi.com
Applied Networking http://reality.sgi.com/rpw3/
Silicon Graphics, Inc. Phone: 650-933-1673
1600 Amphitheatre Pkwy. PP-ASEL-IA
Mountain View, CA 94043