help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: convert strings to symbol


From: Nicholas Sandow
Subject: Re: convert strings to symbol
Date: Mon, 16 Jun 2008 23:17:13 +1000


On 16/06/2008, at 11:03 PM, address@hidden wrote:

Does someone have an idea how to convert a string object to a symbol?
One purpose would be some kind of variable substitution :

(setq y "z")
(setq x "y")
(print  ..? x ....) -> "z"

Thanks in advance.

Have you looked at (intern "foo") or (make-symbol "foo") ? Do they do what you want?




Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E- MailDomain inkl. http://office.freenet.de/dienste/emailoffice/produktuebersicht/ power/mail/index.html








reply via email to

[Prev in Thread] Current Thread [Next in Thread]