You are here: Core Reference > Coding > Logic > Logic Guide - Controlling the Flow of the Program (ST Programs)

Controlling the Flow of the Program

Once you have defined the variables, database object structures etc. for your program, you can begin to define the Logic.

The Logic that you define will determine what happens when the program executes. For example, it will determine whether values are written to the database or methods are performed on database items. The result of the program will depend on the variables and the structure of the Logic.

To define the Logic, you need to refer to the variables and use a series of Logic conditional statements. The conditional statements allow you to define the flow of your program.

There are several types of conditional statement, including:


ClearSCADA 2015 R2