array I_nextFree174 integer I_firstFree110 integer I_maxIndex333 integer I_firstFree110 = 0 integer I_maxIndex333 = 0 function initGlobals166() { } function main119() { initGlobals166(); new_C182(); } function config153() { } function new_C182() returns integer { local integer this107 local integer this820 if (I_firstFree_110 == 0) { if (I_maxIndex_333 < 32768) { I_maxIndex_333 = (I_maxIndex_333 + 1); this_820 = I_maxIndex_333; } else { error266("Out of memory: Could not create C."); this_820 = 0; }; } else { I_firstFree_110 = (I_firstFree_110 - 1); this_820 = I_nextFree_174[I_firstFree_110]; }; this_107 = this_820; return this_107; } function error266(string msg204) { $debugPrint121((msg_204 + (" " + #getStackTrace()))); }