Difference between revisions of "Term.write"

From ComputerCraft Wiki
Jump to: navigation, search
(tNvctBKFwiZM)
(Undo revision 2959 by 188.143.232.12 (talk))
Line 1: Line 1:
I read your post and wshied I'd written it
+
{{lowercase}}
 +
{{Function
 +
|name=term.write
 +
|args= [[string (type)|string]] text
 +
|returns=Text written on the screen
 +
|api=term
 +
|addon=ComputerCraft
 +
|desc=Writes to the screen
 +
|examples=
 +
{{Example
 +
|desc=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!
 +
}}
 +
}}

Revision as of 07:11, 18 September 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!