write
Entity: predicate

writeq
Entity: predicate

nl
Entity: predicate and constant

Usage:
write(X)

Calculates the expression X and writes the result to the standard output.

Usage:
writeq(X)

Writes quoted term X to the standard output. X is not calculated even if it is an expression.

Usage:
nl
S is nl

As predicate prints a new line (carriage return). As constant returns the string "\n" (i.e. the new line string).

See also:

read
open
file I/O