Difference between revisions of "Print"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "{{Function |name=print |args= string |addon=ComputerCraft |desc=Lets you print the string on the terminal. |examples= {{Example |desc=Prints something. |code...")
 
Line 2: Line 2:
 
|name=print
 
|name=print
 
|args= [[string (type)|string]]
 
|args= [[string (type)|string]]
 +
|api=part of lua
 
|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 19:50, 7 July 2012

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

Examples

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