Quote Originally Posted by Huehnerschaender
Code:
for i := 0 to high(enemys) do
   if assigned(enemys[i]) then
     enemys[i].update(time_);
Instead I would do something like:

Code:
for i := 0 to lastIndex do
   enemys[i].update(time_);
Where lastIndex is not necessarily equal to high(enemys), just points to the last assigned element and the array can have any given size.