array C_nextFree151 integer C_firstFree702 integer C_maxIndex924 array D_nextFree192 integer D_firstFree128 integer D_maxIndex157 integer C_firstFree702 = 0 integer C_maxIndex924 = 0 integer D_firstFree128 = 0 integer D_maxIndex157 = 0 function initGlobals197() { } function main122() { initGlobals197(); new_C144(); new_D891(); } function config960() { } function new_C144() returns integer { local integer this117 local integer this591 if (C_firstFree_702 == 0) { if (C_maxIndex_924 < 32768) { C_maxIndex_924 = (C_maxIndex_924 + 1); this_591 = C_maxIndex_924; } else { error205("Out of memory: Could not create C."); this_591 = 0; }; } else { C_firstFree_702 = (C_firstFree_702 - 1); this_591 = C_nextFree_151[C_firstFree_702]; }; this_117 = this_591; return this_117; } function new_D891() returns integer { local integer this117 local integer this260 if (D_firstFree_128 == 0) { if (D_maxIndex_157 < 32768) { D_maxIndex_157 = (D_maxIndex_157 + 1); this_260 = D_maxIndex_157; } else { error205("Out of memory: Could not create D."); this_260 = 0; }; } else { D_firstFree_128 = (D_firstFree_128 - 1); this_260 = D_nextFree_192[D_firstFree_128]; }; this_117 = this_260; return this_117; } function error205(string msg107) { $debugPrint143((msg_107 + (" " + #getStackTrace()))); }