From ComputerCraft Wiki
Jump to: navigation, search

Grid Redstone.png  Function textutils.pagedTabulate
Prints tables in an ordered form. Each table is a row, each column's width is auto-adjusted for consistency between rows. If it encounters a number instead of a table then sets the text color to it. Unlike textutils.tabulate(), if scrolling is required in order to fit the whole of the output onto the display this function will throw up a "Press any key to continue" prompt at the bottom - each press will cause it to scroll down and write a single line more (before prompting again, if need be).
Syntax textutils.pagedTabulate(table table/number color, table table2/number color2, ...)
Returns nil
Part of ComputerCraft
API textutils


Grid paper.png  Example
Prints two tables in an ordered form.
textutils.tabulate( colors.orange, {1,2,3}, colors.lightBlue, {"A","B","C"} )
Output Prints:
1.0   2.0   3.0
A     B     C