Documentation Prolog Predicate Reference builtin char_code/2

char_code/2

Character code of an atom.

Description

char_code( +character, ?character_code )
char_code( -character, +character_code )

char_code(Char, Code) succeeds if and only if Code is the character code of Char.

Implementation