Test case R0080
Full test suiteDevice test case
RETURN keyword
This test case it part of the test suite proposed for new devices.
Test case ID: R0080
Language: ST
tests2/t0080.st
PROGRAM Test_R0080
VAR
i,j : INT;
END_VAR
j := 0;
FOR i := 1 TO 10
DO
j := j + i;
IF( i > 2 ) THEN RETURN; END_IF;
END_FOR;
_GEB_ASSERT_(i = 3);
_GEB_ASSERT_(j = 6);
END_PROGRAM


