Difference between revisions of "Textutils (API)"

From ComputerCraft Wiki
Jump to: navigation, search
Line 11: Line 11:
 
|textutils.slowWrite( text )
 
|textutils.slowWrite( text )
 
|Slowly writes the 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)
 
|textutils.tabulate( table, table2, so on)
 
|<no description given>
 
|<no description given>
 
|-
 
|-
|textutils.formatTime( time, bTwentyFourHour)
+
|textutils.pagedTabulate( table, table2, so on)
|Put a time into it, and it spews it out in a different format.
+
|<no description given>
 +
|-
 +
|textutils.serialize( t )
 +
|<no description given>
 +
|-
 +
|textutils.unserialize( s )
 +
|<no description given>
 +
|-
 +
|textutils.urlEncode( str )
 +
|<no description given>
 
|}
 
|}
  
 
[[Category:APIs]]
 
[[Category:APIs]]

Revision as of 22:32, 14 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) <no description given>
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>