Difference between revisions of "Redstone.getOutput"
From ComputerCraft Wiki
Smiley43210 (Talk | contribs) m (Changed to use type template, does NOT return int, returns boolean, corrected example, cleared up description) |
Smiley43210 (Talk | contribs) m (Named the return value) |
||
Line 3: | Line 3: | ||
|name=redstone.getOutput | |name=redstone.getOutput | ||
|args={{type|string}} side | |args={{type|string}} side | ||
− | |returns={{type|boolean}} | + | |returns={{type|boolean}} state |
|api=redstone | |api=redstone | ||
|desc=Returns what was set with [[redstone.setOutput]](). | |desc=Returns what was set with [[redstone.setOutput]](). |
Latest revision as of 23:56, 5 May 2013
Function redstone.getOutput | |
Returns what was set with redstone.setOutput(). | |
Syntax | redstone.getOutput(string side) |
Returns | boolean state |
Part of | ComputerCraft |
API | redstone |