Difference between revisions of "User:Immibis/Sandbox/Function Template"
From ComputerCraft Wiki
< User:Immibis | Sandbox
(Corrected mapping from "Boolean" to "Boolean (type)") |
|||
(One intermediate revision by one other user not shown) | |||
Line 16: | Line 16: | ||
{{User:Immibis/Sandbox/Function Template | {{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> | + | <nowiki>{{User:Immibis/Sandbox/Function Template |
− | + | ||
|name=redstone.setOutput | |name=redstone.setOutput | ||
|args=[[string]] side, [[boolean]] value | |args=[[string]] side, [[boolean]] value | ||
|api=redstone | |api=redstone | ||
− | }} | + | }}</nowiki> |
− | </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 }}