Greetings!  Thanks!  Done!

Take care,

Robert Boyer <[EMAIL PROTECTED]> writes:

> > (char-code (read-from-string (with-output-to-string (s) (prin1   (code-char 
> > 28) s))))
> 
> I believe that the fix is to change prin1 so that when it prin1s character 28
> it should print out five bytes, #\^\\, i.e., (35 92 94 92 92), whereas it now
> prints out just four:  #\^\
> 
> That last \ wants more to eat.  The first \ eats the caret, but continuing on
> the next \ needs more to eat.
> 
> (char-code 
>   (read-from-string 
>     (with-output-to-string (s)
>        (prin1 (code-char 28) s)
>        (write-char #\\ s))))
> => 28
> 
> 
> 
> 

-- 
Camm Maguire                                            [EMAIL PROTECTED]
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah


_______________________________________________
Gcl-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to