Agreed - you can write a while loop using break (as I had done) which is (very slightly) faster than the equivalent goto. It is still useful to see the distinctions.

Out of habit I tend to write whiles with break-out flags because it was a requirement to never use break in code being written for avionics certification (something to do with deterministic behaviour - never quite agreed with it myself smile - my first real programming job. *shrug*

Based on these results, I'm going to have to try to remember to use /break next time I need something like this. laugh



Sais