Difference between revisions of "Term.write"

From ComputerCraft Wiki
Jump to: navigation, search
(PTVIxXKKzQGVYn)
(Undo revision 2961 by 119.224.15.118 (talk))
Line 1: Line 1:
An impressive share, I recnetly given this onto a colleague who was simply performing a small analysis during this. And then he in fact bought me breakfast since I ran across it for him.. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for spending any time to go over this, I find myself strongly about this and adore reading regarding this topic. If at all possible, as you grow expertise, would you mind updating your website with a lot more details? It is extremely great for me. Huge thumb up because of this short article!
+
{{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 18:34, 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!