format ( str style -- )
Factor handbook » Input and output » Formatted output » Formatted output on the default stream

Next:with-style ( style quot -- )


Vocabulary
io.styles

Inputs
stra string
stylean assoc


Outputs
None

Word description
Writes formatted text to output-stream. If the stream does buffering, output may not be performed immediately; use flush to force output.

Notes
Details are in the documentation for stream-format.

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

Definition