This documentation is out of date.

The new version of the documentation is here: https://cannylogic.com/docs

Difference between revisions of "Switch 2-to-1"

From CANNY Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
 
Line 44: Line 44:
  
 
<div>
 
<div>
Set the output value equal to the input value, determines the Input # by "Index" value.  
+
Sets the output value equal to the input value, determines the Input # by "Index" value.  
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 13:42, 23 January 2016

Appearance
5 11 1 2.png
Symbol
COM21
Group
Switches
Inputs
Input 0: Integer
Input 1: Integer
Index: Integer
Outputs
Output: Integer
Version CANNY Lab
from 0.6b
Icon

Sets the output value equal to the input value, determines the Input # by "Index" value.


Features

If the input "Index" exceeds the number of available inputs, the output value sets to a zero.

Examples

Example 1
Example 2

See also

Switch 8-to-1

Switch 16-to-1

Switch 1-to-2

Switch 1-to-8

Switch 1-to-16

Built-in Function Blocks