Difference between revisions of "Term.write"
From ComputerCraft Wiki
m (moved Term.write() to Term.write) |
|||
| 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(" | + | |code=term.write("Hello, world!") |
| + | |output=Hello, world! | ||
}} | }} | ||
}} | }} | ||
Revision as of 15:12, 13 August 2012
| Writes to the screen | |
| Syntax | term.write(string text) |
| Returns | Text written on the screen |
| Part of | ComputerCraft |
| API | term |
Examples
| 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! |