array A_nextFree136 integer A_firstFree657 integer A_maxIndex183 array A_i862 integer A_firstFree657 = 0 integer A_maxIndex183 = 0 function initGlobals928() { } function main105() { initGlobals928(); init_test172(); } function config441() { } function init_test172() { local integer a1809 local integer a2158 a1_809 = new_A147(); a2_158 = new_A147(); if ((A_i_862[a1_809] * A_i_862[a2_158]) == 4) { testSuccess318(); } else { }; } IS_NATIVE function testSuccess318() { } function new_A147() returns integer { local integer this174 if (A_firstFree_657 == 0) { if (A_maxIndex_183 < 32768) { A_maxIndex_183 = (A_maxIndex_183 + 1); this_174 = A_maxIndex_183; } else { error190("Out of memory: Could not create A."); this_174 = 0; }; } else { A_firstFree_657 = (A_firstFree_657 - 1); this_174 = A_nextFree_136[A_firstFree_657]; }; A_i_862[this_174] = 2; return this_174; } function error190(string msg674) { $debugPrint141((msg_674 + (" " + #getStackTrace()))); }