[previous] [up] [next]     [contents] [index]
Next: Strings Up: Basic Data Extensions Previous: Numbers

Characters

MzScheme character values range over the characters for ASCII values 0 to 255. The procedure char->integer returns the ASCII value of a character and integer->char takes an ASCII value and returns the corresponding character. If integer->char is given an integer that is not in 0 to 255, the exn:application:type exception is raised.

The character comparison procedures -- char=?, char-ci=?, etc. -- take one or more character arguments and check the arguments pairwise (like the numerical comparison procedures).



PLT