array A_nextFree207 integer A_firstFree597 integer A_maxIndex210 array A_i191 integer A_firstFree597 = 0 integer A_maxIndex210 = 0 function initGlobals507() { A_firstFree_597 = 0; A_maxIndex_210 = 0; } function main100() { initGlobals507(); init_test183(); } function config116() { } function init_test183() { local integer a1204 local integer a2295 local real result614 a1_204 = new_A109(); a2_295 = new_A109(); result_614 = A_op_divReal177(a1_204, a2_295); if (result_614 == 1.) { testSuccess150(); } else { }; } IS_NATIVE function testSuccess150() { } function A_op_divReal177(integer this116, integer a163) returns real { return ((A_i_191[this_116] * 1.) / A_i_191[a_163]); } function A_init106(integer this138) { A_i_191[this_138] = 2; } function new_A109() returns integer { local integer this838 this_838 = alloc_A792(); construct_A172(this_838); return this_838; } function construct_A172(integer this133) { A_init106(this_133); } function alloc_A792() returns integer { local integer this145 if (A_firstFree_597 == 0) { if (A_maxIndex_210 < 32768) { A_maxIndex_210 = (A_maxIndex_210 + 1); this_145 = A_maxIndex_210; } else { error133("Out of memory: Could not create A."); this_145 = 0; }; } else { A_firstFree_597 = (A_firstFree_597 - 1); this_145 = A_nextFree_207[A_firstFree_597]; }; return this_145; } function error133(string msg609) { $debugPrint110((msg_609 + (" " + #getStackTrace()))); }