-

ST Parser Error (STP0012): Expression expected.

The ST parser detected a syntactical fault in an ST code construct: a statement is not complete because an expression is missing.

This could be, for example, the control expression (to be evaluated) in a selection statement (IF or CASE) or in an iteration statement (FOR, WHILE, REPEAT) or the right part of an assignment statement.

The code position where the element is expected is underlined red in the code editor. Possibly, the error causes subsequent messages.

Further Info
For information on the correct ST syntax refer to the topic "ST code objects".