array I_nextFree798 integer I_firstFree811 integer I_maxIndex124 integer I_firstFree811 = 0 integer I_maxIndex124 = 0 function initGlobals730() { } function main142() { initGlobals730(); init_test901(); } function config186() { } function init_test901() { local integer a695 local integer b145 local integer c238 a_695 = new_B164(); b_145 = new_B164(); c_238 = new_C462(); if ((a_695 != b_145) and (a_695 != c_238)) { testSuccess858(); } else { }; } IS_NATIVE function testSuccess858() { } function new_B164() returns integer { local integer this182 if (I_firstFree_811 == 0) { if (I_maxIndex_124 < 32768) { I_maxIndex_124 = (I_maxIndex_124 + 1); this_182 = I_maxIndex_124; } else { error170("Out of memory: Could not create B."); this_182 = 0; }; } else { I_firstFree_811 = (I_firstFree_811 - 1); this_182 = I_nextFree_798[I_firstFree_811]; }; return this_182; } function new_C462() returns integer { local integer this133 if (I_firstFree_811 == 0) { if (I_maxIndex_124 < 32768) { I_maxIndex_124 = (I_maxIndex_124 + 1); this_133 = I_maxIndex_124; } else { error170("Out of memory: Could not create C."); this_133 = 0; }; } else { I_firstFree_811 = (I_firstFree_811 - 1); this_133 = I_nextFree_798[I_firstFree_811]; }; return this_133; } function error170(string msg144) { $debugPrint135((msg_144 + (" " + #getStackTrace()))); }