Difference between revisions of "User:MathManiac0/Templates"
From ComputerCraft Wiki
m (Int linking fix.) |
(Might as well edit this page as well...) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 8: | Line 8: | ||
{{Function | {{Function | ||
|name=foo.Bar | |name=foo.Bar | ||
| − | |args= [[ | + | |args= [[number (type)|number]] number |
| − | |returns=[[ | + | |returns=[[number (type)|number]] number |
| − | |api= | + | |api= |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Returns the given number | |desc=Returns the given number | ||
Latest revision as of 14:26, 18 July 2013
Look in the source code to see how the tables are made.
These pieces of data isn't real; they are instead examples how the templates can be made.
| Returns the given number | |
| Syntax | foo.Bar(number number) |
| Returns | number number |
| Part of | ComputerCraft |
| API | none |
Examples
| Prints the number wrapped by foo.Bar() | |
| Code |
print(foo.Bar(2)) |
| Output | 2 |