Difference between revisions of "Print"
From ComputerCraft Wiki
(Undo revision 2535 by 50.71.155.20 (talk) Fixing spam) |
|||
Line 9: | Line 9: | ||
{{Example | {{Example | ||
|desc=Prints something. | |desc=Prints something. | ||
− | |code=print ("Hello World!") | + | |code=print("Hello World!") |
|output=Hello World! | |output=Hello World! | ||
}} | }} | ||
}} | }} |
Revision as of 04:21, 17 November 2012
Function print | |
Lets you print the string on the terminal. | |
Syntax | print(string) |
Returns | nil |
Part of | ComputerCraft |
API | none |
Examples
Example | |
Prints something. | |
Code |
print("Hello World!") |
Output | Hello World! |