IF Computer > MINERVA > Manual > Reference > Predicates > Term input/output > writeq/1/2

writeq/1/2

MINERVA
ifcomputer logo
f
Expert Services on the Web

outputs a term to a stream in a quoted form.

writeq(+Term)
writeq(+Stream, +Term)

writeq/1 outputs a single term (Term) to the current outputstream.
writeq/2 outputs a single term (Term) to the given stream(Stream).

Arguments

Stream                 text output stream
Term                   term

Examples

?- writeq('hello world').
'hello world'

Standard

These predicates are part of the ISO-Prolog Standard.

See also

current_op/3, op/3, print/1/2, println/1/2, read/1/2, read_term/2/3, write/1/2, write_canonical/1/2, write_term/2/3,

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/term_io/writeq/print_en.html
published 2008/10/13 update 2002/2/5 (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