Difference between revisions of "Print"
From ComputerCraft Wiki
(jefkdmhgnj) |
m (Reverted edits by 199.19.105.156 (talk) to last revision by AfterLifeLochie) |
||
| Line 1: | Line 1: | ||
| − | + | {{lowercase}} | |
| + | {{Function | ||
| + | |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! | ||
| + | }} | ||
| + | }} | ||
| + | |||
| + | [[Category:Lua_Core_Functions]] | ||
Revision as of 17:10, 4 December 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! |