Difference between revisions of "Textutils (API)"

From ComputerCraft Wiki
Jump to: navigation, search
Line 16: Line 16:
 
|-
 
|-
 
|textutils.tabulate( table, table2, so on)
 
|textutils.tabulate( table, table2, so on)
|<no description given>
+
|Prints tables in an ordered form. Each table is a row, columns' width is auto-adjusted.
 
|-
 
|-
 
|textutils.pagedTabulate( table, table2, so on)
 
|textutils.pagedTabulate( table, table2, so on)

Revision as of 08:42, 17 March 2012

Text utilities is used to mess around with text easier.

Its functions include:

Method name Description
textutils.slowPrint( text ) Slowly prints the text.
textutils.slowWrite( text ) Slowly writes the text.
textutils.formatTime( time, bTwentyFourHour) Put a time into it, and it spews it out in a different format.
textutils.tabulate( table, table2, so on) Prints tables in an ordered form. Each table is a row, columns' width is auto-adjusted.
textutils.pagedTabulate( table, table2, so on) <no description given>
textutils.serialize( t ) <no description given>
textutils.unserialize( s ) <no description given>
textutils.urlEncode( str ) <no description given>