array I_nextFree650 integer I_firstFree120 integer I_maxIndex953 integer I_firstFree120 = 0 integer I_maxIndex953 = 0 function initGlobals122() { } function main109() { initGlobals122(); init_test126(); } function config329() { } function init_test126() { local integer a160 local integer b665 local integer c137 a_160 = new_B733(); b_665 = new_B733(); c_137 = new_C156(); if ((a_160 != b_665) and (a_160 != c_137)) { testSuccess119(); } else { }; } IS_NATIVE function testSuccess119() { } function new_B733() returns integer { local integer this204 if (I_firstFree_120 == 0) { if (I_maxIndex_953 < 32768) { I_maxIndex_953 = (I_maxIndex_953 + 1); this_204 = I_maxIndex_953; } else { error136("Out of memory: Could not create B."); this_204 = 0; }; } else { I_firstFree_120 = (I_firstFree_120 - 1); this_204 = I_nextFree_650[I_firstFree_120]; }; return this_204; } function new_C156() returns integer { local integer this157 if (I_firstFree_120 == 0) { if (I_maxIndex_953 < 32768) { I_maxIndex_953 = (I_maxIndex_953 + 1); this_157 = I_maxIndex_953; } else { error136("Out of memory: Could not create C."); this_157 = 0; }; } else { I_firstFree_120 = (I_firstFree_120 - 1); this_157 = I_nextFree_650[I_firstFree_120]; }; return this_157; } function error136(string msg191) { $debugPrint116((msg_191 + (" " + #getStackTrace()))); }