Difference between revisions of "Term.write"

From ComputerCraft Wiki
Jump to: navigation, search
(Undo revision 3074 by 201.47.253.83 (talk))
m (Moved to CAT:APIFunctions)
Line 15: Line 15:
 
}}
 
}}
 
}}
 
}}
 +
 +
[[Category:API_Functions]]

Revision as of 18:41, 28 November 2012


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!