#How does execute Integer Switch work?

1 messages · Page 1 of 1 (latest)

fossil fern
#

Testing and playing around with chips and came across this. I just wanna know how it works just in case I need to use it.

spiral crest
#

Imagine an ‘[If]’ equals chain but in one circuit

#

So if equals 1, else, if equals 2, else etc

#

It basically takes an Int and goes out an execution port depending on which one it’s equal to

#

If none it goes out failed

#

You have to configure the circuit to add ports

#

An example of when you could use this is after a multiple choice prompt, with the int being an index, you could have a separate port execute depending on which option is picked