atom_codes/2
[ISO]atom_codes(
+Atom,
-Codes)
atom_codes(
-Atom,
+Codes)
Codes is the codes comprising the printed representation of Atom.
The codes
comprising the printed representation of Atom.
The atom containing exactly those characters, even if the characters look like the printed representation of a number.
Initially, either Atom must be instantiated to an atom, or Codes must be instantiated to a proper codes.
Any atom that can be read or written by Prolog can be constructed
or decomposed by atom_codes/2
.
instantiation_error
type_error
domain_error
representation_error
atom_chars/2
.