Difference between revisions of "User:Immibis/Sandbox/Function Template"
From ComputerCraft Wiki
< User:Immibis | Sandbox
(Corrected mapping from "Boolean" to "Boolean (type)") |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 13: | Line 13: | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
− | + | == Example == | |
+ | {{User:Immibis/Sandbox/Function Template | ||
|name=redstone.setOutput | |name=redstone.setOutput | ||
− | |args=[[string]] side, [[boolean]] value | + | |args=[[string]] side, [[boolean_(type)|boolean]] value |
|api=redstone | |api=redstone | ||
− | }} | + | }} |
+ | <nowiki>{{User:Immibis/Sandbox/Function Template | ||
+ | |name=redstone.setOutput | ||
+ | |args=[[string]] side, [[boolean]] value | ||
+ | |api=redstone | ||
+ | }}</nowiki> | ||
</noinclude> | </noinclude> |
Latest revision as of 13:49, 30 November 2012
Example
Function redstone.setOutput | |
Syntax | redstone.setOutput(string side, boolean value) |
Returns | nil |
Part of | ComputerCraft |
API | redstone (API) |
{{User:Immibis/Sandbox/Function Template |name=redstone.setOutput |args=[[string]] side, [[boolean]] value |api=redstone }}