array A_nextFree109 integer A_firstFree112 integer A_maxIndex110 integer A_firstFree112 = 0 integer A_maxIndex110 = 0 function initGlobals210() { } function main125() { initGlobals210(); if (1 < 3) { new_B905(); } else { }; } function config185() { } function new_B905() returns integer { local integer this743 local integer this627 if (A_firstFree_112 == 0) { if (A_maxIndex_110 < 32768) { A_maxIndex_110 = (A_maxIndex_110 + 1); this_627 = A_maxIndex_110; } else { error188("Out of memory: Could not create B."); this_627 = 0; }; } else { A_firstFree_112 = (A_firstFree_112 - 1); this_627 = A_nextFree_109[A_firstFree_112]; }; this_743 = this_627; return this_743; } function error188(string msg195) { $debugPrint352((msg_195 + (" " + #getStackTrace()))); }