Jump to content

Character codes: Difference between revisions

Line 526:
Printf.printf "%c\n" (char_of_int 97); (* prints "a" *)</lang>
 
WeThe alsofollowing haveare thesealiases for the above functions:
<lang ocaml># Char.code ;;
- : char -> int = <fun>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.