11.3.63 display/1

Synopsis

display(+Term)

Writes Term on the standard output stream, without quoting atoms, without operator notation, without treating '$VAR'/1 terms specially.

Arguments

Term
term

Description

display(Term) is equivalent to:

     write_term(Term, [ignore_ops(true)])

Examples

     | ?- display(a+b).
     +(a,b)
     yes
     | ?- read(X), display(X), nl.
     |: a + b * c.
     +(a,*(b,c))
     
     X = a+b*c
     
     | ?-

Exceptions

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

See Also

ref-iou-tou.


Send feedback on this subject.