[e009b1]: / test / stmt-if.test.expected  Maximize  Restore  History

Download this file

24 lines (16 with data), 174 Bytes

FUNCTION func:DINT;

IF 1 > 5
 func := (1);
 RETURN;

END_IF
 
IF 1 < 5
 func := (2);
 RETURN;

END_IF
 
IF 1 = 5
 func := (3);
 RETURN;

ELSE
 func := (4);
 RETURN;

END_IF