Problem with the function "character"
Norbert Lehmann <[email protected]> Wed, 27 Aug 2003 17:07:42 +0200
| Newsgroups | gmane.lisp.corman |
|---|---|
| Message-ID | <a05200f00bb7277ad3f6c@[134.21.9.36]> |
Hello everybody
how can I obtain for a ASCII code the corresponding character ? Usually,
I used the function "character" for this purpose. For example (in CLisp,
but also in Macintosh Common Lisp)
[1]> (character 97)
#\a
where 97 is the ASCII code for the lower A. Unfortunately,
in Corman Lisp, I obtain the error message "The object 97 cannot be
coerced to a character". Equivalently, using "coerce", the same error
message is obtained in Corman Lisp.
Thanks + I wish you a nice day
Norbert
--
\|/
(o o)
+---------------------------oOO--(_)--OOo---------------------------+
Norbert Lehmann
Department of Informatics (DIUF) phone: ++ 41 26 300 83 30
University of Fribourg fax: ++ 41 26 300 97 26
Rue Faucigny 2 e-mail: [email protected]
CH-1700 Fribourg http://www-iiuf.unifr.ch/~lehmann
Switzerland
+-------------------------------------------------------------------+
(_) (_)
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/SyjtlB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
[email protected]
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/