array A_nextFree104 integer A_firstFree332 integer A_maxIndex858 integer A_firstFree332 = 0 integer A_maxIndex858 = 0 function initGlobals172() { } function main131() { initGlobals172(); init_test100(); } function config653() { } function init_test100() { new_A504(); } function A_init168(integer this943) { } function new_A504() returns integer { local integer this790 this_790 = alloc_A274(); construct_A187(this_790); return this_790; } function construct_A187(integer this101) { A_init168(this_101); } function alloc_A274() returns integer { local integer this285 if (A_firstFree_332 == 0) { if (A_maxIndex_858 < 32768) { A_maxIndex_858 = (A_maxIndex_858 + 1); this_285 = A_maxIndex_858; } else { error112("Out of memory: Could not create A."); this_285 = 0; }; } else { A_firstFree_332 = (A_firstFree_332 - 1); this_285 = A_nextFree_104[A_firstFree_332]; }; return this_285; } function error112(string msg616) { $debugPrint118((msg_616 + (" " + #getStackTrace()))); }