There are a lot of simple ideas that float about in programming. Many that are conceptually simple, yet end up being a bit tricky for you to implement. Right until the moment you see how somebody else does it, and you have a more concrete feeling for the simplicity. What follows is an advanced common sense idea that should help you with printing inside loops. In some batch script you might have: forwordinwords:process(word) This works alright, except you don't have visibility into progress or...