Next: Integer enumerations, Previous: Fluid/dynamic bindings, Up: System features
These names are exported by the ascii structure.
These convert characters to and from their integer ASCII encodings.
Char->asciiandascii->charare similar to R5RS'schar->integerandinteger->char, but they are guaranteed to use the ASCII encoding. Scheme48'sinteger->charandchar->integerdeliberately do not use the ASCII encoding to encourage programmers to make use of only what R5RS guarantees.(char->ascii #\a) => 97 (ascii->char 97) => #\a
Ascii-limitis an integer that is one greater than the highest number thatchar->asciimay return orascii->charwill accept.Ascii-whitespacesis a list of the integer encodings of all characters that are considered whitespace: space (32), horizontal tab (9), line-feed/newline (10), vertical tab (11), form-feed/page (12), and carriage return (13).