print

From ComputerCraft Wiki
Revision as of 13:10, 22 February 2014 by Bomb Bloke (Talk | contribs)

Jump to: navigation, search


Grid Redstone.png  Function print
Lets you print a string to the terminal, automatically word-wrapping and scrolling down the display as need be. (For prompted scrolling, see textutils.pagedPrint(); to avoid word-wrapping, see term.write().)
Syntax print(string)
Returns nil
Part of ComputerCraft
API none

Examples

Grid paper.png  Example
Prints something.
Code
print("Hello World!")
Output Hello World!