Question on events

In reply to sagar@aceic.com:

check the terminating condition of your for loop.