stream-print ( str stream -- )
Factor handbook » Input and output » Streams » Stream utilities

Next:stream-lines ( stream -- seq )


Vocabulary
io

Inputs
stra string
streaman output stream


Outputs
None

Word description
Writes a newline-terminated string.

Notes
Most code only works on one stream at a time and should instead use print; see Default input and output streams.

Errors
Throws an error if the I/O operation fails.

Definition