Re: Problem with the function "character"
Marco Antoniotti <[email protected]> Wed, 27 Aug 2003 12:06:31 -0400
| Newsgroups | gmane.lisp.corman |
|---|---|
| Message-ID | <[email protected]> |
CHAR-CODE and CODE-CHAR are your friends :) Cheers Marco On Wednesday, Aug 27, 2003, at 11:07 America/New_York, Norbert Lehmann wrote: > 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/ > > -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. ------------------------ 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/