textutils.tabulate
From ComputerCraft Wiki
Revision as of 13:10, 22 February 2014 by Bomb Bloke (Talk | contribs) (Formatted example output to reflect actual spacing.)
Function textutils.tabulate | |
Prints tables in an ordered form. Each table is a row, each column's width is auto-adjusted for consistency between rows. If the data to print exceeds that which can fit on the display, unlike textutils.pagedTabulate(), this does not wait before scrolling excess text out the top. | |
Syntax | textutils.tabulate(table table1, table table2, ...) |
Returns | Nothing. |
Part of | ComputerCraft |
API | textutils |
Examples
Example | |
Prints two tables in an ordered form. | |
Code |
textutils.tabulate({1,2,3},{"A","B","C"}) |
Output | Prints:
1.0 2.0 3.0 A B C |