writes a term to a stream.
write/1 writes a single term (Term) to the current outputstream.
write/2 writes a single term (Term) to the given stream(Stream).
write/1/2 does not quote atoms or functor names. The predicate
corresponds to write_term with the option list [quoted(false),
numbervars(false),ignore_ops(false)].
Stream text output stream Term term
?- write('hello world').
hello world
These predicates are part of the ISO-Prolog Standard.
| scroll to top |
|