array ABC_nextFree171 integer ABC_firstFree744 integer ABC_maxIndex132 array A_nextFree534 integer A_firstFree486 integer A_maxIndex175 integer ABC_firstFree744 = 0 integer ABC_maxIndex132 = 0 integer A_firstFree486 = 0 integer A_maxIndex175 = 0 integer B_firstFree194 = 0 integer B_maxIndex151 = 0 function initGlobals193() { } function main850() { initGlobals193(); init_A123(); } function config884() { } function init_A123() { local integer this698 if (ABC_firstFree_744 == 0) { if (ABC_maxIndex_132 < 32768) { ABC_maxIndex_132 = (ABC_maxIndex_132 + 1); this_698 = ABC_maxIndex_132; } else { error112("Out of memory: Could not create ABC_A."); this_698 = 0; }; } else { ABC_firstFree_744 = (ABC_firstFree_744 - 1); this_698 = ABC_nextFree_171[ABC_firstFree_744]; }; new_A112(this_698); } IS_NATIVE function testSuccess614() { } function new_A112(integer a161) returns integer { if (A_firstFree_486 == 0) { if (A_maxIndex_175 < 32768) { A_maxIndex_175 = (A_maxIndex_175 + 1); a_161 = A_maxIndex_175; } else { error112("Out of memory: Could not create A."); a_161 = 0; }; } else { A_firstFree_486 = (A_firstFree_486 - 1); a_161 = A_nextFree_534[A_firstFree_486]; }; testSuccess614(); return a_161; } function error112(string msg196) { $debugPrint509((msg_196 + (" " + #getStackTrace()))); }