The <select> block allows you to select one of two inputs using the “gate” input.
•If “gate” is false: the “out” output is the mirror image of the “0” input
•If “gate” is true: the “out” output is the complement of the “1” input
Note that the Executor does not evaluate the unselected input, as it is not used. This behavior can be considered equivalent to a conditional jump in a structured language.
•« 0 » : The default value is 0 (type int)
•« 1 » : The default value is 0 (type int)
•« out » : Its type depends on the type of the inputs
Inputs can be of any type as long as it is a type accepted by the Python language.
The output has the same type as the selected input.