tabular-output ( style quot -- )
Factor handbook » Input and output » Formatted output » Formatted output on the default stream

Prev:with-nesting ( style quot -- )
Next:with-row ( quot -- )


Vocabulary
io.styles

Inputs
stylean assoc
quota quotation


Outputs
None

Word description
Calls a quotation which emits a series of equal-length table rows using with-row. The results are laid out in a tabular fashion on output-stream.

The style hashtable holds table style information. See Table styles.

Examples
USING: io.styles prettyprint sequences ; { { 1 2 } { 3 4 } } H{ { table-gap { 10 10 } } } [ [ [ [ [ . ] with-cell ] each ] with-row ] each ] tabular-output


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

See also
table-gap, table-border, stream-write-table

Definition