Difference between revisions of "Template:Function"
From ComputerCraft Wiki
m |
([edit]) |
||
Line 34: | Line 34: | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Sets a redstone output | |desc=Sets a redstone output | ||
− | |examples=Examples go here | + | |examples=Examples go here (use [[Template:Example]]) |
|notes= | |notes= | ||
* Note 1 | * Note 1 |
Revision as of 02:32, 13 July 2012
Wiki code
{{Function |name=redstone.setOutput |args=[[string]] side, [[boolean]] value |api=redstone |returns=[[nil]] |addon=ComputerCraft |desc=Sets a redstone output |examples=Examples go here (use [[Template:Example]]) |notes= * Note 1 * Note 2 }}
Note that args, returns, addon, examples and notes are optional.
Result
Function redstone.setOutput | |
Sets a redstone output | |
Syntax | redstone.setOutput(string side, boolean value) |
Returns | nil |
Part of | ComputerCraft |
API | redstone |
Examples
Examples go hereAdditional Notes
- Note 1
- Note 2