array MyClass_nextFree908 integer MyClass_firstFree235 integer MyClass_maxIndex133 integer Iterator_firstFree405 integer Iterator_maxIndex172 integer wurst_stack_depth378 array wurst_stack846 integer MyClass_firstFree235 = 0 integer MyClass_maxIndex133 = 0 integer Iterator_firstFree405 = 0 integer Iterator_maxIndex172 = 0 integer wurst_stack_depth378 = 0 function initGlobals149() { } function main208() { initGlobals149(); wurst_stack_846[wurst_stack_depth_378] = "when calling init_Test in multi_modules, line 1"; wurst_stack_depth_378 = (wurst_stack_depth_378 + 1); new_MyClass160("when calling new_MyClass in multi_modules, line 33"); new_MyClass160("when calling new_MyClass in multi_modules, line 34"); MyClass_all135("when calling all in multi_modules, line 35"); testSuccess184(); wurst_stack_depth_378 = (wurst_stack_depth_378 - 1); } function config187() { } IS_NATIVE function testSuccess184() { } function MyClass_all135(string __wurst_stackPos120) { wurst_stack_846[wurst_stack_depth_378] = __wurst_stackPos_120; wurst_stack_depth_378 = (wurst_stack_depth_378 + 1); wurst_stack_846[wurst_stack_depth_378] = "when calling iterator in multi_modules, line 24"; wurst_stack_depth_378 = (wurst_stack_depth_378 + 1); wurst_stack_846[wurst_stack_depth_378] = "when calling new_Iterator in multi_modules, line 5"; wurst_stack_depth_378 = (wurst_stack_depth_378 + 1); wurst_stack_846[wurst_stack_depth_378] = "when calling alloc_Iterator in multi_modules, line 7"; wurst_stack_depth_378 = (wurst_stack_depth_378 + 1); if (Iterator_firstFree_405 == 0) { if (Iterator_maxIndex_172 < 32768) { Iterator_maxIndex_172 = (Iterator_maxIndex_172 + 1); } else { error858("Out of memory: Could not create Iterator.", "when calling error in multi_modules, line 7"); }; } else { Iterator_firstFree_405 = (Iterator_firstFree_405 - 1); }; wurst_stack_depth_378 = (((wurst_stack_depth_378 - 1) - 1) - 1); loop { exitwhen true; }; wurst_stack_depth_378 = (wurst_stack_depth_378 - 1); } function new_MyClass160(string __wurst_stackPos165) returns integer { local integer this113 wurst_stack_846[wurst_stack_depth_378] = __wurst_stackPos_165; wurst_stack_depth_378 = (wurst_stack_depth_378 + 1); wurst_stack_846[wurst_stack_depth_378] = "when calling alloc_MyClass in multi_modules, line 19"; wurst_stack_depth_378 = (wurst_stack_depth_378 + 1); if (MyClass_firstFree_235 == 0) { if (MyClass_maxIndex_133 < 32768) { MyClass_maxIndex_133 = (MyClass_maxIndex_133 + 1); this_113 = MyClass_maxIndex_133; } else { error858("Out of memory: Could not create MyClass.", "when calling error in multi_modules, line 19"); this_113 = 0; }; } else { MyClass_firstFree_235 = (MyClass_firstFree_235 - 1); this_113 = MyClass_nextFree_908[MyClass_firstFree_235]; }; wurst_stack_depth_378 = ((wurst_stack_depth_378 - 1) - 1); return this_113; } function error858(string msg161, string __wurst_stackPos297) { local integer stacktraceIndex941 local integer stacktraceLimit584 wurst_stack_846[wurst_stack_depth_378] = __wurst_stackPos_297; wurst_stack_depth_378 = (wurst_stack_depth_378 + 1); __wurst_stackPos_297 = ""; stacktraceIndex_941 = wurst_stack_depth_378; stacktraceLimit_584 = 0; loop { stacktraceIndex_941 = (stacktraceIndex_941 - 1); stacktraceLimit_584 = (stacktraceLimit_584 + 1); exitwhen ((stacktraceLimit_584 > 20) or (stacktraceIndex_941 < 0)); __wurst_stackPos_297 = (__wurst_stackPos_297 + (" " + wurst_stack_846[stacktraceIndex_941])); }; $debugPrint954((msg_161 + (" " + __wurst_stackPos_297))); wurst_stack_depth_378 = (wurst_stack_depth_378 - 1); }