array C_nextFree147 integer C_firstFree105 integer C_maxIndex148 array D_nextFree863 integer D_firstFree194 integer D_maxIndex137 integer C_firstFree105 = 0 integer C_maxIndex148 = 0 integer D_firstFree194 = 0 integer D_maxIndex137 = 0 function initGlobals836() { C_firstFree_105 = 0; C_maxIndex_148 = 0; D_firstFree_194 = 0; D_maxIndex_137 = 0; } function main921() { initGlobals836(); init_test104(); } function config198() { } function init_test104() { new_C106(); new_D987(); } function C_init162(integer this344) { construct_C_M138(this_344); } function construct_C_M138(integer this118) { } function new_C106() returns integer { local integer this689 this_689 = alloc_C565(); construct_C824(this_689); return this_689; } function construct_C824(integer this168) { C_init162(this_168); } function D_init111(integer this816) { } function new_D987() returns integer { local integer this135 this_135 = alloc_D829(); construct_D747(this_135); return this_135; } function construct_D747(integer this114) { D_init111(this_114); } function alloc_C565() returns integer { local integer this866 if (C_firstFree_105 == 0) { if (C_maxIndex_148 < 32768) { C_maxIndex_148 = (C_maxIndex_148 + 1); this_866 = C_maxIndex_148; } else { error138("Out of memory: Could not create C."); this_866 = 0; }; } else { C_firstFree_105 = (C_firstFree_105 - 1); this_866 = C_nextFree_147[C_firstFree_105]; }; return this_866; } function error138(string msg175) { $debugPrint117((msg_175 + (" " + #getStackTrace()))); } function alloc_D829() returns integer { local integer this653 if (D_firstFree_194 == 0) { if (D_maxIndex_137 < 32768) { D_maxIndex_137 = (D_maxIndex_137 + 1); this_653 = D_maxIndex_137; } else { error138("Out of memory: Could not create D."); this_653 = 0; }; } else { D_firstFree_194 = (D_firstFree_194 - 1); this_653 = D_nextFree_863[D_firstFree_194]; }; return this_653; }