Difference between revisions of "User:Immibis/Sandbox/Function Template"
From ComputerCraft Wiki
< User:Immibis | Sandbox
| 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]] value | ||
|api=redstone | |api=redstone | ||
| − | }} | + | }} |
| + | <nowiki> | ||
| + | {{User:Immibis/Sandbox/Function Template | ||
| + | |name=redstone.setOutput | ||
| + | |args=[[string]] side, [[boolean]] value | ||
| + | |api=redstone | ||
| + | }} | ||
| + | </nowiki> | ||
</noinclude> | </noinclude> | ||
Revision as of 02:10, 26 February 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
}}