array I_nextFree191 integer I_firstFree367 integer I_maxIndex761 integer I_firstFree367 = 0 integer I_maxIndex761 = 0 function initGlobals139() { } function main442() { initGlobals139(); init_test587(); } function config801() { } function init_test587() { local integer a109 local integer b981 local integer c137 a_109 = new_B284(); b_981 = new_B284(); c_137 = new_C803(); if ((a_109 != b_981) and (a_109 != c_137)) { testSuccess169(); } else { }; } IS_NATIVE function testSuccess169() { } function new_B284() returns integer { local integer this114 if (I_firstFree_367 == 0) { if (I_maxIndex_761 < 32768) { I_maxIndex_761 = (I_maxIndex_761 + 1); this_114 = I_maxIndex_761; } else { error170("Out of memory: Could not create B."); this_114 = 0; }; } else { I_firstFree_367 = (I_firstFree_367 - 1); this_114 = I_nextFree_191[I_firstFree_367]; }; return this_114; } function new_C803() returns integer { local integer this796 if (I_firstFree_367 == 0) { if (I_maxIndex_761 < 32768) { I_maxIndex_761 = (I_maxIndex_761 + 1); this_796 = I_maxIndex_761; } else { error170("Out of memory: Could not create C."); this_796 = 0; }; } else { I_firstFree_367 = (I_firstFree_367 - 1); this_796 = I_nextFree_191[I_firstFree_367]; }; return this_796; } function error170(string msg172) { $debugPrint527((msg_172 + (" " + #getStackTrace()))); }