array A_nextFree546 integer A_firstFree161 integer A_maxIndex717 integer A_firstFree161 = 0 integer A_maxIndex717 = 0 function initGlobals121() { } function main501() { initGlobals121(); init_test824(); } function config686() { } function init_test824() { new_A151(); } function A_init720(integer this106) { } function new_A151() returns integer { local integer this132 this_132 = alloc_A164(); construct_A2991(this_132); return this_132; } function construct_A2991(integer this202) { A_init720(this_202); } function alloc_A164() returns integer { local integer this124 if (A_firstFree_161 == 0) { if (A_maxIndex_717 < 32768) { A_maxIndex_717 = (A_maxIndex_717 + 1); this_124 = A_maxIndex_717; } else { error709("Out of memory: Could not create A."); this_124 = 0; }; } else { A_firstFree_161 = (A_firstFree_161 - 1); this_124 = A_nextFree_546[A_firstFree_161]; }; return this_124; } function error709(string msg175) { $debugPrint156((msg_175 + (" " + #getStackTrace()))); }