integer C_count100 array C_nextFree384 integer C_firstFree820 integer C_maxIndex148 array C_x539 integer C_count100 = 0 integer C_firstFree820 = 0 integer C_maxIndex148 = 0 function initGlobals327() { } function main187() { initGlobals327(); init_test188(); } function config142() { } function init_test188() { local integer from153 from_153 = new_C209(); loop { exitwhen (C_x_539[from_153] >= 10); C_x_539[from_153] = (C_x_539[from_153] + 1); }; if (C_count_100 == 1) { testSuccess165(); } else { }; } IS_NATIVE function testSuccess165() { } function new_C209() returns integer { local integer this156 if (C_firstFree_820 == 0) { if (C_maxIndex_148 < 32768) { C_maxIndex_148 = (C_maxIndex_148 + 1); this_156 = C_maxIndex_148; } else { error656("Out of memory: Could not create C."); this_156 = 0; }; } else { C_firstFree_820 = (C_firstFree_820 - 1); this_156 = C_nextFree_384[C_firstFree_820]; }; C_x_539[this_156] = 0; C_count_100 = (C_count_100 + 1); return this_156; } function error656(string msg130) { $debugPrint135((msg_130 + (" " + #getStackTrace()))); }