Re: Legacy Code: Break Begin
I find this a very useful command. Your code is fine but slightly over complicated
Code:
Repeat
... //Find something
if ((Found) and Status="I") Break Begin
if (Some Other Condition) Break
// Do your processing here
Loop
Basically you need something to Break you out of the loop but if you haven't finished processing yet then Break Begin saves you using conditionals and makes your code cleaner.
One suggestion. The Studio doesn't really know about Break Begin so it's expecting an "End" which it will happily insert for you! I put "#Replace BreakBegin Break Begin" at the top of my code and all works smoothly.
Ian
The most important leg on a three legged stool is the one that's missing.
Murphy's Law (2)