Next: mpg-ref-char_conversion, Previous: mpg-ref-catch, Up: mpg-bpr [Contents][Index]
char_code/2
ISOchar_code(+Char, -Code)
char_code(-Char, +Code)
Code is the character code comprising the printed representation of Char.
char
The char whose code is Code.
code
The code corresponding to Char.
Initially, at least one argument must be instantiated.
instantiation_error
Char and Code are both uninstantiated
type_error
Char is not a char or Code is not an integer.
representation_error
Code is not a code.
atom_codes/2
, number_codes/2
.