Case, or switch statements, create multiple decision points. They’re easier to program using OptoScript.
Here’s an example of a case statement:
It’s much easier to see all of the possible cases in one block with OptoScript. More about the case statement in the upcoming Control Structures lesson.