array I_nextFree510 integer I_firstFree643 integer I_maxIndex661 integer I_firstFree643 = 0 integer I_maxIndex661 = 0 function initGlobals697() { } function main146() { initGlobals697(); init_test112(); } function config644() { } function init_test112() { local integer a136 local integer b176 local integer c185 a_136 = new_B442(); b_176 = new_B442(); c_185 = new_C113(); if (not ((a_136 == b_176) or (a_136 == c_185))) { testSuccess133(); } else { }; } IS_NATIVE function testSuccess133() { } function new_B442() returns integer { local integer this509 local integer this213 if (I_firstFree_643 == 0) { if (I_maxIndex_661 < 32768) { I_maxIndex_661 = (I_maxIndex_661 + 1); this_213 = I_maxIndex_661; } else { error159("Out of memory: Could not create B."); this_213 = 0; }; } else { I_firstFree_643 = (I_firstFree_643 - 1); this_213 = I_nextFree_510[I_firstFree_643]; }; this_509 = this_213; return this_509; } function new_C113() returns integer { local integer this135 local integer this755 if (I_firstFree_643 == 0) { if (I_maxIndex_661 < 32768) { I_maxIndex_661 = (I_maxIndex_661 + 1); this_755 = I_maxIndex_661; } else { error159("Out of memory: Could not create C."); this_755 = 0; }; } else { I_firstFree_643 = (I_firstFree_643 - 1); this_755 = I_nextFree_510[I_firstFree_643]; }; this_135 = this_755; return this_135; } function error159(string msg182) { $debugPrint144((msg_182 + (" " + #getStackTrace()))); }