Difference between revisions of "Print"

From ComputerCraft Wiki
Jump to: navigation, search
Line 2: Line 2:
 
|name=print
 
|name=print
 
|args= [[string (type)|string]]
 
|args= [[string (type)|string]]
|api=lua
+
|api=none
 
|addon=ComputerCraft
 
|addon=ComputerCraft
 
|desc=Lets you print the string on the terminal.
 
|desc=Lets you print the string on the terminal.

Revision as of 08:42, 8 July 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!