array Blub_nextFree100 integer Blub_firstFree632 integer Blub_maxIndex166 integer Blub_firstFree632 = 0 integer Blub_maxIndex166 = 0 function initGlobals171() { } function main915() { initGlobals171(); new_Blub913(); } function config100() { } function new_Blub913() returns integer { local integer this895 if (Blub_firstFree_632 == 0) { if (Blub_maxIndex_166 < 32768) { Blub_maxIndex_166 = (Blub_maxIndex_166 + 1); this_895 = Blub_maxIndex_166; } else { error144("Out of memory: Could not create Blub."); this_895 = 0; }; } else { Blub_firstFree_632 = (Blub_firstFree_632 - 1); this_895 = Blub_nextFree_100[Blub_firstFree_632]; }; return this_895; } function error144(string msg185) { $debugPrint176((msg_185 + (" " + #getStackTrace()))); }