Next: mpg-ref-atomic, Previous: mpg-ref-atom_concat, Up: mpg-bpr [Contents][Index]
atom_length/2
ISOatom_length(+Atom, -Length)
Length is the number of characters of the atom Atom.
atom, must be nonvar
integer
instantiation_error
Atom is uninstantiated
type_error
Atom is not an atom, or Length cannot be unified with an integer
domain_error
Length < 0
atom_length/2
, atom_concat/3
, sub_atom/5
.