The 'char-int' function returns the decimal ASCII value of the 'char' expression.
(char-int #\0) ; returns 48 (char-int #\A) ; returns 65 (char-int #\a) ; returns 97 (char-int #\[) ; returns 91 (char-int #\newline) ; returns 10 (char-int (code-char 127)) ; returns 127 (char-int (int-char 255)) ; returns 255
Note: char-code and 'char-int' are identical in use. See char-code for additional information.
See the
char-int
function in the