Making Statements with Structured Text
So, Structured Text consists of statements. But what is statements?A statement is you telling the TeslaSCADA2 what to do. Let’s take the ﬁrst statement as an example:
The compiler will read this as one statement, because when it reaches the semicolon, it knows that this is the end of that statement. Remember, statements are separated by semicolons. That’s the main syntax rule of this language. In this statement you are telling the TeslaSCADA2 to create a variable called X and that variable should be a BOOL type. By default value of the variable is false.