Difference between revisions of "Print"

From ComputerCraft Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 +
{{lowercase}}
 
{{Function
 
{{Function
 
|name=print
 
|name=print

Revision as of 13:13, 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!