array A_nextFree161 integer A_firstFree145 integer A_maxIndex626 integer A_firstFree145 = 0 integer A_maxIndex626 = 0 function initGlobals687() { } function main196() { initGlobals687(); new_A124(); } function config120() { } function new_A124() returns integer { local integer this123 if (A_firstFree_145 == 0) { if (A_maxIndex_626 < 32768) { A_maxIndex_626 = (A_maxIndex_626 + 1); this_123 = A_maxIndex_626; } else { error101("Out of memory: Could not create A."); this_123 = 0; }; } else { A_firstFree_145 = (A_firstFree_145 - 1); this_123 = A_nextFree_161[A_firstFree_145]; }; return this_123; } function error101(string msg548) { $debugPrint127((msg_548 + (" " + #getStackTrace()))); }