unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* other comparison-function than eql possible for `case'?
@ 2005-03-22 15:18 Klaus Berndl
  2005-03-22 15:50 ` Joe Corneli
  0 siblings, 1 reply; 2+ messages in thread
From: Klaus Berndl @ 2005-03-22 15:18 UTC (permalink / raw)



`case' compares against the key-clauses with `eql'. My question: Exist a
similar construct which allows comparison with `equal' for example? This would
be useful to write case-statement with strings as keys...

Thanks for any pointer!
Klaus

-- 
Klaus Berndl			mailto: klaus.berndl@sdm.de
sd&m AG				http://www.sdm.de
software design & management	
Carl-Wery-Str. 42, 81739 Muenchen, Germany
Tel +49 89 63812-392, Fax -220

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: other comparison-function than eql possible for `case'?
  2005-03-22 15:18 other comparison-function than eql possible for `case'? Klaus Berndl
@ 2005-03-22 15:50 ` Joe Corneli
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Corneli @ 2005-03-22 15:50 UTC (permalink / raw)



   `case' compares against the key-clauses with `eql'. My question: Exist a
   similar construct which allows comparison with `equal' for example? 

cond ;)?

   This would be useful to write case-statement with strings as
   keys...

   Thanks for any pointer!

OK, one more: use the source, it looks like only one line to change.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-22 15:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-22 15:18 other comparison-function than eql possible for `case'? Klaus Berndl
2005-03-22 15:50 ` Joe Corneli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).