Scheme 48 Manual -- ASCII character encoding

Scheme 48 Manual | Contents | In Chapter: Libraries
Previous: Libraries | Next: Bitwise integer operations

## ASCII character encoding

These are in the structure `ascii`.

- `(char->ascii char) -> integer`
- `(ascii->char integer) -> char`

These are identical to `char->integer` and `integer->char` except that they use the ASCII encoding.

- `ascii-limit` | integer

- `ascii-whitespaces` | list of integers

`Ascii-limit` is one more than the largest value that `char->ascii` may return. `Ascii-whitespaces` is a list of the ASCII values of whitespace characters (space, horizontal tab, line feed (= newline), vertical tab, form feed, and carriage return).

Previous: Libraries | Next: Bitwise integer operations