term.write

From ComputerCraft Wiki
Revision as of 15:12, 13 August 2012 by 68.209.251.85 (Talk)

Jump to: navigation, search


Grid Redstone.png  Function term.write
Writes to the screen
Syntax term.write(string text)
Returns Text written on the screen
Part of ComputerCraft
API term

Examples

Grid paper.png  Example
Writes text to the screen. This does not produce a new line, and anything else printed or written after this will be on the same line.
Code
term.write("Hello, world!")
Output Hello, world!