array C_nextFree202 integer C_firstFree208 integer C_maxIndex635 array D_nextFree138 integer D_firstFree100 integer D_maxIndex182 integer C_firstFree208 = 0 integer C_maxIndex635 = 0 integer D_firstFree100 = 0 integer D_maxIndex182 = 0 function initGlobals356() { } function main131() { initGlobals356(); new_C100(); new_D137(); } function config183() { } function new_C100() returns integer { local integer this288 local integer this253 if (C_firstFree_208 == 0) { if (C_maxIndex_635 < 32768) { C_maxIndex_635 = (C_maxIndex_635 + 1); this_253 = C_maxIndex_635; } else { error737("Out of memory: Could not create C."); this_253 = 0; }; } else { C_firstFree_208 = (C_firstFree_208 - 1); this_253 = C_nextFree_202[C_firstFree_208]; }; this_288 = this_253; return this_288; } function new_D137() returns integer { local integer this120 local integer this209 if (D_firstFree_100 == 0) { if (D_maxIndex_182 < 32768) { D_maxIndex_182 = (D_maxIndex_182 + 1); this_209 = D_maxIndex_182; } else { error737("Out of memory: Could not create D."); this_209 = 0; }; } else { D_firstFree_100 = (D_firstFree_100 - 1); this_209 = D_nextFree_138[D_firstFree_100]; }; this_120 = this_209; return this_120; } function error737(string msg334) { $debugPrint616((msg_334 + (" " + #getStackTrace()))); }