array A_nextFree807 integer A_firstFree324 integer A_maxIndex512 integer wurst_stack_depth243 array wurst_stack145 array A_b_i_0729 array A_b_i_1736 integer A_firstFree324 = 0 integer A_maxIndex512 = 0 integer wurst_stack_depth243 = 0 function initGlobals748() { } function main241() { initGlobals748(); init_test202("when calling init_test in tupleArrayMember, line 1"); } function config430() { } function init_test202(string __wurst_stackPos874) { local integer this930 wurst_stack_145[wurst_stack_depth_243] = __wurst_stackPos_874; wurst_stack_depth_243 = (wurst_stack_depth_243 + 1); wurst_stack_145[wurst_stack_depth_243] = "when calling new_A in tupleArrayMember, line 7"; wurst_stack_depth_243 = (wurst_stack_depth_243 + 1); wurst_stack_145[wurst_stack_depth_243] = "when calling alloc_A in tupleArrayMember, line 4"; wurst_stack_depth_243 = (wurst_stack_depth_243 + 1); if (A_firstFree_324 == 0) { if (A_maxIndex_512 < 32768) { A_maxIndex_512 = (A_maxIndex_512 + 1); this_930 = A_maxIndex_512; } else { error967("Out of memory: Could not create A.", "when calling error in tupleArrayMember, line 4"); this_930 = 0; }; } else { A_firstFree_324 = (A_firstFree_324 - 1); this_930 = A_nextFree_807[A_firstFree_324]; }; wurst_stack_depth_243 = ((wurst_stack_depth_243 - 1) - 1); A_b_i_set163(this_930, 0, 4, "when writing array A_b_i in tupleArrayMember, line 8"); A_b_i_set163(this_930, 1, 5, "when writing array A_b_i in tupleArrayMember, line 9"); if ((A_b_i_get206(this_930, 0, "when reading array A_b_i in in tupleArrayMember, line 10") == 4) and (A_b_i_get206(this_930, 1, "when reading array A_b_i in in tupleArrayMember, line 10") == 5)) { testSuccess165(); } else { }; wurst_stack_depth_243 = (wurst_stack_depth_243 - 1); } IS_NATIVE function testSuccess165() { } function error967(string msg793, string __wurst_stackPos187) { local integer stacktraceIndex421 local integer stacktraceLimit150 wurst_stack_145[wurst_stack_depth_243] = __wurst_stackPos_187; wurst_stack_depth_243 = (wurst_stack_depth_243 + 1); __wurst_stackPos_187 = ""; stacktraceIndex_421 = wurst_stack_depth_243; stacktraceLimit_150 = 0; loop { stacktraceIndex_421 = (stacktraceIndex_421 - 1); stacktraceLimit_150 = (stacktraceLimit_150 + 1); exitwhen ((stacktraceLimit_150 > 20) or (stacktraceIndex_421 < 0)); __wurst_stackPos_187 = (__wurst_stackPos_187 + (" " + wurst_stack_145[stacktraceIndex_421])); }; $debugPrint691((msg_793 + (" " + __wurst_stackPos_187))); wurst_stack_depth_243 = (wurst_stack_depth_243 - 1); } function A_b_i_set163(integer instanceId151, integer arrayIndex119, integer value851, string stackPos186) { if ((arrayIndex_119 < 0) or (arrayIndex_119 >= 2)) { error967("Index out of Bounds", stackPos_186); } else { if (arrayIndex_119 <= 0) { A_b_i_0_729[instanceId_151] = value_851; } else { A_b_i_1_736[instanceId_151] = value_851; }; }; } function A_b_i_get206(integer index1351, integer index2165, string stackPos109) returns integer { local integer returnVal101 if ((index2_165 < 0) or (index2_165 >= 2)) { error967("Index out of Bounds", stackPos_109); } else { if (index2_165 <= 0) { returnVal_101 = A_b_i_0_729[index1_351]; } else { returnVal_101 = A_b_i_1_736[index1_351]; }; }; return returnVal_101; }