array A_nextFree208 integer A_firstFree140 integer A_maxIndex186 array Cell_nextFree207 integer Cell_firstFree942 integer Cell_maxIndex864 integer A_firstFree140 = 0 integer A_maxIndex186 = 0 integer Cell_firstFree942 = 0 integer Cell_maxIndex864 = 0 function initGlobals174() { } function main531() { initGlobals174(); new_Cell161(); new_B680(); } function config780() { } function new_B680() returns integer { local integer this714 local integer this121 if (A_firstFree_140 == 0) { if (A_maxIndex_186 < 32768) { A_maxIndex_186 = (A_maxIndex_186 + 1); this_121 = A_maxIndex_186; } else { error201("Out of memory: Could not create B."); this_121 = 0; }; } else { A_firstFree_140 = (A_firstFree_140 - 1); this_121 = A_nextFree_208[A_firstFree_140]; }; this_714 = this_121; return this_714; } function new_Cell161() returns integer { local integer this107 local integer this130 if (Cell_firstFree_942 == 0) { if (Cell_maxIndex_864 < 32768) { Cell_maxIndex_864 = (Cell_maxIndex_864 + 1); this_130 = Cell_maxIndex_864; } else { error201("Out of memory: Could not create Cell."); this_130 = 0; }; } else { Cell_firstFree_942 = (Cell_firstFree_942 - 1); this_130 = Cell_nextFree_207[Cell_firstFree_942]; }; this_107 = this_130; return this_107; } function error201(string msg872) { $debugPrint183((msg_872 + (" " + #getStackTrace()))); }