array A_nextFree350 integer A_firstFree114 integer A_maxIndex204 integer A_firstFree114 = 0 integer A_maxIndex204 = 0 function initGlobals136() { } function main509() { initGlobals136(); new_A201(); } function config964() { } function new_A201() returns integer { local integer this148 if (A_firstFree_114 == 0) { if (A_maxIndex_204 < 32768) { A_maxIndex_204 = (A_maxIndex_204 + 1); this_148 = A_maxIndex_204; } else { error165("Out of memory: Could not create A."); this_148 = 0; }; } else { A_firstFree_114 = (A_firstFree_114 - 1); this_148 = A_nextFree_350[A_firstFree_114]; }; return this_148; } function error165(string msg116) { $debugPrint599((msg_116 + (" " + #getStackTrace()))); }