textutils.tabulate

From ComputerCraft Wiki
Revision as of 13:17, 4 December 2012 by Ds84182 (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=textutils.tabulate |args= table table, table table, ... |returns=Text printed on the screen |api=textutils |ad...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  Function textutils.tabulate
Prints tables in an ordered form. Each table is a row, columns' width is auto-adjusted.
Syntax textutils.tabulate(table table, table table, ...)
Returns Text printed on the screen
Part of ComputerCraft
API textutils

Examples

Grid paper.png  Example
Prints two tables in an ordered form.
Code
textutils.tabulate({1,2,3},{"A","B","C"})
Output Print:

1.0 2.0 3.0

A B C