How to emulate switch case {} block?
-
Hi,
i would like to know how to emulate a switch case statement and the switch value can be optimized with numerical numbers.
Regards.
-
Blocks can have 1 or 2 outputs only. You probably ask for a block that could have multiple outputs, but they only have 1 or 2. Of course if you connect multiple Condition blocks one after another (each one connected after the yellow output of the previous one), you can do something like this. It will be if - else if - else if - else if...., but its similar