Difference between revisions of "Template:Function"

From ComputerCraft Wiki
Jump to: navigation, search
m (Don't you just hate when the official documentation is wrong?)
m
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>
 +
 
{{{#if: {{{examples|}}} |
 
{{{#if: {{{examples|}}} |
 
== Examples ==
 
== Examples ==
 
{{{examples}}}
 
{{{examples}}}
 
|}}}
 
|}}}
 +
 
{{{#if: {{{notes|}}} |
 
{{{#if: {{{notes|}}} |
 
== Additional Notes ==
 
== Additional Notes ==

Revision as of 02:58, 26 February 2012


Wiki code

{{Function
 |name=redstone.setOutput
 |args=[[string]] side, [[boolean]] value
 |api=redstone
 |returns=[[nil]]
 |addon=ComputerCraft
 |examples=Examples go here
 |notes=
 * Note 1
 * Note 2
 }}

Note that returns, addon, examples and notes are optional.

Result

Grid Redstone.png  Function redstone.setOutput
No description provided.
Syntax redstone.setOutput(string side, boolean value)
Returns nil
Part of ComputerCraft
API redstone

Examples

Examples go here

Additional Notes

  • Note 1
  • Note 2