// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1366 globals integer test_ghs=0 endglobals native println takes string s returns nothing function initGlobals takes nothing returns nothing endfunction function foo takes nothing returns integer set test_ghs = test_ghs + 2 return 4 + test_ghs endfunction function init_test takes nothing returns nothing local integer blub_c set test_ghs = 0 set blub_c = foo() + foo() call println(I2S(blub_c)) endfunction function main takes nothing returns nothing call initGlobals() call init_test() endfunction function config takes nothing returns nothing endfunction