| |||||||||||
| Writes a term to a string.
write_atom(+Term, ?Atom)
write_atom/2 writes a single atom (Term) to a string, converts the string to an atom and unifies it with Atom.
Arguments
Term term Atom atom
Examples
write_atom(hello('World'), T).
->
T = 'hello(World)'
Standard
This predicate is not part of the ISO-Prolog Standard.
See alsoparse_atom/2/3, writeq_atom/2. | |||||||||||
| |||||||||||
| Back> |
|