array C_nextFree139 integer C_firstFree175 integer C_maxIndex857 array D_nextFree195 integer D_firstFree136 integer D_maxIndex364 integer C_firstFree175 = 0 integer C_maxIndex857 = 0 integer D_firstFree136 = 0 integer D_maxIndex364 = 0 function initGlobals213() { } function main197() { initGlobals213(); new_C850(); new_D884(); } function config492() { } function new_C850() returns integer { local integer this210 if (C_firstFree_175 == 0) { if (C_maxIndex_857 < 32768) { C_maxIndex_857 = (C_maxIndex_857 + 1); this_210 = C_maxIndex_857; } else { error118("Out of memory: Could not create C."); this_210 = 0; }; } else { C_firstFree_175 = (C_firstFree_175 - 1); this_210 = C_nextFree_139[C_firstFree_175]; }; return this_210; } function new_D884() returns integer { local integer this376 if (D_firstFree_136 == 0) { if (D_maxIndex_364 < 32768) { D_maxIndex_364 = (D_maxIndex_364 + 1); this_376 = D_maxIndex_364; } else { error118("Out of memory: Could not create D."); this_376 = 0; }; } else { D_firstFree_136 = (D_firstFree_136 - 1); this_376 = D_nextFree_195[D_firstFree_136]; }; return this_376; } function error118(string msg171) { $debugPrint120((msg_171 + (" " + #getStackTrace()))); }