Never a problem my friend :)
You're absolutely right about the Step part. Each turn through the loop processes two parameters. This leads back to the Stop bit too.
Stop is like hitting a breakpoint.
As the only reason for this occurring is a programming error (the code is called incorrectly rather than a problem occurring during normal usage) this is perfect error handling for me. As I design the code I will always be the one who finds this error. This seems to be the most appropriate way to give me the information I need to fix the problem. It's fine to replace it with code you're happier with though. The bread and butter of the procedure is the rest of it anyway.
You're absolutely right about the Step part. Each turn through the loop processes two parameters. This leads back to the Stop bit too.
Stop is like hitting a breakpoint.
As the only reason for this occurring is a programming error (the code is called incorrectly rather than a problem occurring during normal usage) this is perfect error handling for me. As I design the code I will always be the one who finds this error. This seems to be the most appropriate way to give me the information I need to fix the problem. It's fine to replace it with code you're happier with though. The bread and butter of the procedure is the rest of it anyway.
Comment