Next: , Previous: , Up: mpg-bpr   [Contents][Index]


11.3.160 print/[1,2]   hookable

Synopsis

print(+Stream, +Term)

print(+Term)

Writes Term on Stream, without quoting atoms, calling user:portray/1 on subterms.

Arguments

Stream

stream_object, must be ground

A valid open Prolog stream, defaults to the current output stream.

Term

term

Description

print(Term) is equivalent to:

write_term(Term, [portrayed(true),numbervars(true)])

Exceptions

Stream errors (see ref-iou-sfh-est).

See Also

ref-iou-tou, user:portray/1.


Send feedback on this subject.