array A_nextFree198 integer A_firstFree209 integer A_maxIndex135 array A_i171 integer A_firstFree209 = 0 integer A_maxIndex135 = 0 function initGlobals112() { } function main160() { initGlobals112(); init_test192(); } function config365() { } function init_test192() { if (A_op_mult100(new_A113(), new_A113()) == 4) { testSuccess177(); } else { }; } IS_NATIVE function testSuccess177() { } function A_op_mult100(integer this111, integer a227) returns integer { return (A_i_171[this_111] * A_i_171[a_227]); } function A_init140(integer this134) { A_i_171[this_134] = 2; } function new_A113() returns integer { local integer this100 this_100 = alloc_A214(); construct_A973(this_100); return this_100; } function construct_A973(integer this511) { A_init140(this_511); } function alloc_A214() returns integer { local integer this204 if (A_firstFree_209 == 0) { if (A_maxIndex_135 < 32768) { A_maxIndex_135 = (A_maxIndex_135 + 1); this_204 = A_maxIndex_135; } else { error997("Out of memory: Could not create A."); this_204 = 0; }; } else { A_firstFree_209 = (A_firstFree_209 - 1); this_204 = A_nextFree_198[A_firstFree_209]; }; return this_204; } function error997(string msg511) { $debugPrint352((msg_511 + (" " + #getStackTrace()))); }