[gambit-list] #\esc's wrong ascii code

Adrien Pierard pierarda at iro.umontreal.ca
Thu Jan 10 20:20:00 EST 2008


Hello Schemers.

It looks like Gambit associates the value 26 to the #\esc character,
instead of 27.

(char->integer #\esc)
=> 26

(integer->char 26)
=> #\esc


it might be unintentional, but lib/_io.c has 
___DEF_GLO(26,"##escape-keyword?")

Isn't this blind chance?


Adrien.

-- 
Hapy new year



More information about the Gambit-list mailing list