e will be a numer. The loop counts from the first enemy to the last enemy - and presumes your enemies are using consecutive id's... e.g. 10,11,12,13,14
I personally use arrays in DBPro so I can add and remove them from the list, and make the loop work on the array length (or number of enemies in it)... also this array I decribe uses a userdefined structure so I can alot more information about each enemy than a bunch of IDs.
Consecutive ID's for enemies - would not be my personal approach... but it will get you started.
--Jason