For Case Statements

Case, or switch statements, create multiple decision points. They’re easier to program using OptoScript.

Here’s an example of a case statement:

CaseStatement

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.

Summary

Summary

Learn how Case, or switch statements, in OptoScript compare to regular PAC Control flowchart programming.