integer C_count175 array C_nextFree150 integer C_firstFree413 integer C_maxIndex121 array C_x148 integer C_count175 = 0 integer C_firstFree413 = 0 integer C_maxIndex121 = 0 function initGlobals559() { } function main141() { initGlobals559(); init_test112(); } function config543() { } function init_test112() { local integer from991 from_991 = new_C145(); loop { exitwhen (C_x_148[from_991] >= 10); C_x_148[from_991] = (C_x_148[from_991] + 1); }; if (C_count_175 == 1) { testSuccess517(); } else { }; } IS_NATIVE function testSuccess517() { } function new_C145() returns integer { local integer this315 if (C_firstFree_413 == 0) { if (C_maxIndex_121 < 32768) { C_maxIndex_121 = (C_maxIndex_121 + 1); this_315 = C_maxIndex_121; } else { error385("Out of memory: Could not create C."); this_315 = 0; }; } else { C_firstFree_413 = (C_firstFree_413 - 1); this_315 = C_nextFree_150[C_firstFree_413]; }; C_x_148[this_315] = 0; C_count_175 = (C_count_175 + 1); return this_315; } function error385(string msg190) { $debugPrint142((msg_190 + (" " + #getStackTrace()))); }