array A_nextFree120 integer A_firstFree149 integer A_maxIndex120 integer A_firstFree149 = 0 integer A_maxIndex120 = 0 function initGlobals541() { } function main164() { initGlobals541(); new_A169(); } function config136() { } function new_A169() returns integer { local integer this942 if (A_firstFree_149 == 0) { if (A_maxIndex_120 < 32768) { A_maxIndex_120 = (A_maxIndex_120 + 1); this_942 = A_maxIndex_120; } else { error150("Out of memory: Could not create A."); this_942 = 0; }; } else { A_firstFree_149 = (A_firstFree_149 - 1); this_942 = A_nextFree_120[A_firstFree_149]; }; return this_942; } function error150(string msg188) { $debugPrint854((msg_188 + (" " + #getStackTrace()))); }