Difference between revisions of "Print"
From ComputerCraft Wiki
(Undo revision 2535 by 50.71.155.20 (talk) Fixing spam) |
|||
| Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
{{Function | {{Function | ||
| − | |name= | + | |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
| Lets you print the string on the terminal. | |
| Syntax | print(string) |
| Returns | nil |
| Part of | ComputerCraft |
| API | none |
Examples
| Prints something. | |
| Code |
print ("Hello World!")
|
| Output | Hello World! |