array A_nextFree109 integer A_firstFree106 integer A_maxIndex122 array A_i185 integer A_firstFree106 = 0 integer A_maxIndex122 = 0 function initGlobals188() { } function main578() { initGlobals188(); if (A_i_185[new_A201()] == 1) { testSuccess147(); } else { }; } function config162() { } IS_NATIVE function testSuccess147() { } function new_A201() returns integer { local integer this104 if (A_firstFree_106 == 0) { if (A_maxIndex_122 < 32768) { A_maxIndex_122 = (A_maxIndex_122 + 1); this_104 = A_maxIndex_122; } else { error147("Out of memory: Could not create A."); this_104 = 0; }; } else { A_firstFree_106 = (A_firstFree_106 - 1); this_104 = A_nextFree_109[A_firstFree_106]; }; A_i_185[this_104] = (this_104 castTo integer); return this_104; } function error147(string msg176) { $debugPrint208((msg_176 + (" " + #getStackTrace()))); }