Write2

Implements ISO's write/2: formats the second argument (unquoted, with operator notation, and expanding '$VAR'(N) terms as variable names, i.e. TermFormatter.default) and writes it to the output stream identified by the first argument (an alias or $stream(...) term).

Throws

if it does not identify an open channel.

(stream_type) if it identifies an input channel instead.

Fails, rather than erroring, if the channel is closed.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard