Difference between revisions of "User:Immibis/Sandbox/Function Template"

From ComputerCraft Wiki
Jump to: navigation, search
(Corrected mapping from "Boolean" to "Boolean (type)")
 
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
 
}}
 
}}

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
 }}