Hi, Everybody:
I want to generate a dynamic variable and assign a value to this
variable at run time with LISP language?
Could you help me?
Thanks
Liu Geyang
email: ·····@cs.hku.hk
In article <············@cs.hku.hk>, gyliu <·····@cs.hku.hk> wrote:
> I want to generate a dynamic variable and assign a value to this
>variable at run time with LISP language?
You can only do this easily with special variables:
(setq sym 'foo)
(setq val 'bar)
(setf (symbol-value sym) val)
foo => BAR
--
Barry Margolin, ······@bbnplanet.com
GTE Internetworking, Powered by BBN, Cambridge, MA
Support the anti-spam movement; see <http://www.cauce.org/>
Please don't send technical questions directly to me, post them to newsgroups.