User:MathManiac0/Templates

From ComputerCraft Wiki
< User:MathManiac0
Revision as of 12:57, 14 November 2012 by MathManiac0 (Talk | contribs) (Added Template Page; included Function template.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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