#2 IF statement is missing a THEN

1.0
open
nobody
None
2020-06-30
2020-06-30
Ingo
No
int i;
int a()
{
if (i < 0) return;
}

results in:

i: DINT;
FUNCTION a:DINT;

IF i < 0
 RETURN;

END_IF

The "THEN" keyword is missing after the if-expression.

Discussion


Log in to post a comment.