writeq/[1,2]
writeq(
+Term)
writeq(
+Stream, +Term)
Writes the term Term to Stream or the current output stream.
Equivalent to write_term/[2,3]
with the options:
[quoted(true),ignore_ops(false),numbervars(true)]
Does not terminate its output with a full-stop. Therefore, if you
want this term to be input to read/[1,2]
, you must explicitly
write a full-stop to mark the end of the term.
Depending upon whether character
escaping is on or off, writeq/[1,2]
and
write_canonical/[1,2]
behave differently when writing quoted
atoms. If character escaping is on:
\
lowercase letter
form (see above for the
corresponding letter).
\^
control char
form.
If character escaping is off:
Stream errors (see ref-iou-sfh-est)
write_term/[2,3]
, write/[1,2]
,
write_canonical/[1,2]
ref-syn-ces for information about character escaping.