Subject: Re: q. on reading bytes from "BIDIRECTIONAL-TERMINAL-STREAM"
From: Erik Naggum <>
Date: 2000/08/23
Newsgroups: comp.lang.lisp
Message-ID: <>

* Richard James Panturis Giuly <>
| If you know how I can convert a character to an integer that would
| be fine too, I just thought converting every byte might be
| inefficient.

  The function char-code returns the integer code of the character.
  It's essential a type-changing function, as both characters and
  integers are immediate values, and at least in Allegro CL is a
  simple bit-shift operation if you declare the character's type.

  If this is not what you expected, please alter your expectations.