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.
Log in to post a comment.