Difference between revisions of "Print"

From ComputerCraft Wiki
Jump to: navigation, search
(Undo revision 2535 by 50.71.155.20 (talk) Fixing spam)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 
{{Function
 
{{Function
|name=printfefdfffffffffffffffffffffffffffffffffffffffffffffffffffff
+
|name=print
 +
|args= [[string (type)|string]]
 +
|api=
 +
|addon=ComputerCraft
 +
|desc=Lets you print the string on the terminal.
 +
|examples=
 +
{{Example
 +
|desc=Prints something.
 +
|code=print ("Hello World!")
 +
|output=Hello World!
 +
}}
 +
}}

Revision as of 22:21, 8 August 2012


Grid Redstone.png  Function print
Lets you print the string on the terminal.
Syntax print(string)
Returns nil
Part of ComputerCraft
API none

Examples

Grid paper.png  Example
Prints something.
Code
print ("Hello World!")
Output Hello World!