array A_nextFree648 integer A_firstFree143 integer A_maxIndex147 integer A_firstFree143 = 0 integer A_maxIndex147 = 0 function initGlobals943() { } function main152() { initGlobals943(); init_test115(); } function config144() { } function init_test115() { new_A434(); } function A_init203(integer this190) { } function new_A434() returns integer { local integer this496 this_496 = alloc_A163(); construct_A968(this_496); return this_496; } function construct_A968(integer this211) { A_init203(this_211); } function alloc_A163() returns integer { local integer this200 if (A_firstFree_143 == 0) { if (A_maxIndex_147 < 32768) { A_maxIndex_147 = (A_maxIndex_147 + 1); this_200 = A_maxIndex_147; } else { error431("Out of memory: Could not create A."); this_200 = 0; }; } else { A_firstFree_143 = (A_firstFree_143 - 1); this_200 = A_nextFree_648[A_firstFree_143]; }; return this_200; } function error431(string msg120) { $debugPrint145((msg_120 + (" " + #getStackTrace()))); }