In reply to theketi: i < 8 has to fail in order to end the loop. So i will be 8 after exiting the loop.