integer C_count144 array C_nextFree203 integer C_firstFree448 integer C_maxIndex213 array C_x161 integer C_count144 = 0 integer C_firstFree448 = 0 integer C_maxIndex213 = 0 function initGlobals180() { } function main660() { initGlobals180(); init_test603(); } function config274() { } function init_test603() { local integer from592 local integer this207 local integer this607 from_592 = new_C908(); loop { this_207 = from_592; exitwhen (not (C_x_161[this_207] < 10)); this_607 = from_592; C_x_161[this_607] = (C_x_161[this_607] + 1); }; if (C_count_144 == 1) { testSuccess154(); } else { }; } IS_NATIVE function testSuccess154() { } function new_C908() returns integer { local integer this972 local integer this114 local integer this104 local integer this211 if (C_firstFree_448 == 0) { if (C_maxIndex_213 < 32768) { C_maxIndex_213 = (C_maxIndex_213 + 1); this_114 = C_maxIndex_213; } else { error174("Out of memory: Could not create C."); this_114 = 0; }; } else { C_firstFree_448 = (C_firstFree_448 - 1); this_114 = C_nextFree_203[C_firstFree_448]; }; this_972 = this_114; this_104 = this_972; this_211 = this_104; C_x_161[this_211] = 0; C_count_144 = (C_count_144 + 1); return this_972; } function error174(string msg655) { $debugPrint198((msg_655 + (" " + #getStackTrace()))); }