Difference between revisions of "Term.write"
From ComputerCraft Wiki
Line 11: | Line 11: | ||
|desc=Writes text to the screen. | |desc=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. | 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, | + | |code=term.write("Hello, World!") |
− | |output=Hello, | + | |output=Hello, World! |
}} | }} | ||
}} | }} |
Revision as of 21:17, 13 August 2012
Function term.write | |
Writes to the screen | |
Syntax | term.write(string text) |
Returns | Text written on the screen |
Part of | ComputerCraft |
API | term |
Examples
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! |