[ ECLiPSe Term-based I/O built-in.|Group Index| Full Index]

write(?Term)

The term Term is written on output stream according to the current operator declarations.

?Term
Prolog term.

Description

Used to write the term Term on the current output according to the current operator declarations. Lists and compound terms are only printed up to the nesting depth specified by the global flag print_depth (cf. set_flag/2).

Note The output of write/1 is not necessarily in a form acceptable to read/1/2.

Fail Conditions

None.

Resatisfiable

No.

Exceptions

Examples

   Equivalent to write(output, Term).  (see write/2 for details).


See Also

display / 1, display / 2, get_flag / 2, set_flag / 2, write / 2, writeq / 1, writeq / 2