array A_nextFree140 integer A_firstFree546 integer A_maxIndex115 integer A_firstFree546 = 0 integer A_maxIndex115 = 0 function initGlobals103() { } function main659() { initGlobals103(); init_test894(); } function config108() { } function init_test894() { new_A151(); } function A_init206(integer this845) { } function new_A151() returns integer { local integer this313 this_313 = alloc_A122(); construct_A206(this_313); return this_313; } function construct_A206(integer this815) { A_init206(this_815); } function alloc_A122() returns integer { local integer this356 if (A_firstFree_546 == 0) { if (A_maxIndex_115 < 32768) { A_maxIndex_115 = (A_maxIndex_115 + 1); this_356 = A_maxIndex_115; } else { error582("Out of memory: Could not create A."); this_356 = 0; }; } else { A_firstFree_546 = (A_firstFree_546 - 1); this_356 = A_nextFree_140[A_firstFree_546]; }; return this_356; } function error582(string msg288) { $debugPrint718((msg_288 + (" " + #getStackTrace()))); }