User:MathManiac0/Templates

From ComputerCraft Wiki
< User:MathManiac0
Revision as of 18:34, 30 November 2012 by Lyqyd (Talk | contribs) (Int linking fix.)

Jump to: navigation, search

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.


Grid Redstone.png  Function foo.Bar
Returns the given number
Syntax foo.Bar(int number)
Returns int number
Part of ComputerCraft
API [[peripherals (API)|peripherals]]

Examples

Grid paper.png  Example
Prints the number wrapped by foo.Bar()
Code
print(foo.Bar(2))
Output 2