Single-Pass Loop
This article explains the technique known as a single-pass loop, and why it is part of my script template. If you do a lot of error trapping or exception handling, this is a great technique to master. The single-pass loop technique is inspired by the Try-Catch statement found in many programming languages. In a Try-Catch …