This documentation is out of date.

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

Switch 2-to-1

From CANNY Wiki
Revision as of 08:55, 25 November 2015 by MEGA (Talk | contribs) (Created page with " <div style="float:right;margin:5px;"> {|class="cannytable" width="350px" |- !colspan="2" style="background-color:#AFEEEE;"|Appearance |- |colspan="2" align="center" style="...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Set 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