array A_nextFree213 integer A_firstFree140 integer A_maxIndex212 array A_i131 integer A_firstFree140 = 0 integer A_maxIndex212 = 0 function initGlobals871() { A_firstFree_140 = 0; A_maxIndex_212 = 0; } function main164() { initGlobals871(); init_test181(); } function config136() { } function init_test181() { local integer a1839 local integer a2149 local integer result413 a1_839 = new_A878(); a2_149 = new_A878(); result_413 = A_op_minus172(a1_839, a2_149); if (result_413 == 0) { testSuccess199(); } else { }; } IS_NATIVE function testSuccess199() { } function A_op_minus172(integer this370, integer a199) returns integer { return (A_i_131[this_370] - A_i_131[a_199]); } function A_init618(integer this214) { A_i_131[this_214] = 2; } function new_A878() returns integer { local integer this101 this_101 = alloc_A195(); construct_A110(this_101); return this_101; } function construct_A110(integer this261) { A_init618(this_261); } function alloc_A195() returns integer { local integer this147 if (A_firstFree_140 == 0) { if (A_maxIndex_212 < 32768) { A_maxIndex_212 = (A_maxIndex_212 + 1); this_147 = A_maxIndex_212; } else { error135("Out of memory: Could not create A."); this_147 = 0; }; } else { A_firstFree_140 = (A_firstFree_140 - 1); this_147 = A_nextFree_213[A_firstFree_140]; }; return this_147; } function error135(string msg578) { $debugPrint842((msg_578 + (" " + #getStackTrace()))); }