// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals endglobals native testSuccess takes nothing returns nothing function initGlobals takes nothing returns nothing endfunction function main takes nothing returns nothing local integer ints_1 local integer ints_2 local integer ints_3 local integer sum local integer j call initGlobals() set ints_1 = 2 set ints_2 = 3 set ints_3 = 4 set sum = 1 set j = 1 loop exitwhen j > 4 set sum = sum + j exitwhen j > 2 set j = j + 1 endloop set sum = sum + ints_1 set j = 1 loop exitwhen j > 4 set sum = sum + j exitwhen j > 2 set j = j + 1 endloop set sum = sum + ints_2 set j = 1 loop exitwhen j > 4 set sum = sum + j exitwhen j > 2 set j = j + 1 endloop set sum = sum + ints_3 set j = 1 loop exitwhen j > 4 set sum = sum + j exitwhen j > 2 set j = j + 1 endloop if sum == 34 then call testSuccess() endif endfunction function config takes nothing returns nothing endfunction