Difference between revisions of "Template:Function"
From ComputerCraft Wiki
Scarfacial (Talk | contribs) |
(added description field) |
||
Line 11: | Line 11: | ||
<td style="border-color: black; padding: .2em; padding-left: .4em;">[[{{{api}}} (API)|{{{api}}}]]</td></tr> | <td style="border-color: black; padding: .2em; padding-left: .4em;">[[{{{api}}} (API)|{{{api}}}]]</td></tr> | ||
</table> | </table> | ||
+ | |||
+ | {{{desc|}}} | ||
== Examples == | == Examples == | ||
Line 30: | Line 32: | ||
|returns=[[nil]] | |returns=[[nil]] | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
+ | |desc=Sets a redstone output | ||
|examples=Examples go here | |examples=Examples go here | ||
|notes= | |notes= | ||
Line 45: | Line 48: | ||
|returns=[[nil]] | |returns=[[nil]] | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
+ | |desc=Sets a redstone output | ||
|examples=Examples go here | |examples=Examples go here | ||
|notes= | |notes= |
Revision as of 08:58, 2 March 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 |notes= * Note 1 * Note 2 }}
Note that 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