Factor handbook > Input and output

Next:Reading and writing files

Input and output centers on the concept of a stream, which is a source or sink of elements.
Stream example

A stream can either be passed around on the stack or bound to a dynamic variable and used as one of the two implicit default streams.
Stream protocol
Default input and output streams
Stream utilities

See also
String streams, Plain writer streams, Duplex streams