Cicode Programming Reference > Using Cicode Functions > Combining Functions with Other Statements

Combining Functions with Other Statements

In expressions and commands you can use functions alone or in combination with other functions, operators, and so on.

The following example uses three statements:

Command

Report("Shift"); B1_TIC_101_PV = 10; PageDisplay("Boiler 1")

Each statement is executed in order. The "Shift" report is started first, the variable B1_TIC_101_PV is set to 10 next, and finally, the "Boiler 1" page is displayed.

Functions combine with operators and conditional executors to give you specific control over your processes, for example, you can test for abnormal operating conditions and act on them.