integer C_count165 array C_nextFree168 integer C_firstFree731 integer C_maxIndex173 array C_x130 integer C_count165 = 0 integer C_firstFree731 = 0 integer C_maxIndex173 = 0 function initGlobals168() { } function main206() { initGlobals168(); init_test155(); } function config727() { } function init_test155() { local integer from380 from_380 = new_C209(); loop { exitwhen (C_x_130[from_380] >= 10); C_x_130[from_380] = (C_x_130[from_380] + 1); }; if (C_count_165 == 1) { testSuccess167(); } else { }; } IS_NATIVE function testSuccess167() { } function new_C209() returns integer { local integer this323 if (C_firstFree_731 == 0) { if (C_maxIndex_173 < 32768) { C_maxIndex_173 = (C_maxIndex_173 + 1); this_323 = C_maxIndex_173; } else { error163("Out of memory: Could not create C."); this_323 = 0; }; } else { C_firstFree_731 = (C_firstFree_731 - 1); this_323 = C_nextFree_168[C_firstFree_731]; }; C_x_130[this_323] = 0; C_count_165 = (C_count_165 + 1); return this_323; } function error163(string msg116) { $debugPrint819((msg_116 + (" " + #getStackTrace()))); }