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.
Afficher les réponses par date
Looks like a simple bug in _io.scm:
(define ##standard-named-char-table '( ("newline" . #\newline) ;; here to take precedence over linefeed ("space" . #\space) ("nul" . #\x00) ("alarm" . #\x07) ("backspace" . #\x08) ("tab" . #\x09) ("linefeed" . #\x0A) ("vtab" . #\x0B) ("page" . #\x0C) ("return" . #\x0D) ("esc" . #\x1A) ("delete" . #\x7F) ))
On Jan 10, 2008, at 8:20 PM, Adrien Pierard wrote:
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 _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list