term.write

From ComputerCraft Wiki
Revision as of 07:11, 18 September 2012 by 178.27.163.165 (Talk) (Undo revision 2959 by 188.143.232.12 (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, at the cursor's current position. 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!