textutils.tabulate

From ComputerCraft Wiki
Jump to: navigation, search


Grid Redstone.png  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

Grid paper.png  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
 
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox