IF Computer > MINERVA > Manual > Reference > Predicates > Atomic term processing > writeq_atom/2

writeq_atom/2

MINERVA
ifcomputer logo
f
Expert Services on the Web

Writes a term to a string.

writeq_atom(+Term, ?Atom)

writeq_atom/2 writes a single atom (Term) to a string, converts the string to an atom and unifies it with Atom.
writeq_atom/2 quotes atoms and functor names.

Arguments

Term                 term
Atom                   atom

Examples

writeq_atom(hello('World'), T).
->
T = 'hello(\'World\')'

Standard

This predicate is not part of the ISO-Prolog Standard.

See also

parse_atom/2/3, write_atom/2.

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/atomic_term/writeq_atom/print_en.html
published 2008/10/6 update 2002/3/19 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 start (AT) ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
Back> managed with ubiCMS