Flow of Control and Looping

Loops are used to perform the same set of statements multiple times.

The OpenMatrix Language supports two types of loops: for and while.

Flow of control controls which statements are executed. OML supports 4 types of flow of control: break, if, switch, and try/catch.

More information about each flow of control and loop is found in their respective topics within this section.