VastlySuperior
2012-08-09 03:14:26
Hi
I got a case selection with a few procedure within, I want to break out of this loop within the case selection if a certain condition is true. At the moment I use a if statement between each BeginSomething but that is messy. What better way is there to break out of such a scenario?
Thanks for the help guys.
I got a case selection with a few procedure within, I want to break out of this loop within the case selection if a certain condition is true. At the moment I use a if statement between each BeginSomething but that is messy. What better way is there to break out of such a scenario?
Thanks for the help guys.
Case Choice Of
0: Begin
BeginSomething1
BeginSomething2
BeginSomething3
BeginSomething4
BeginSomething5
End;
1: Begin
BeginSomething1
BeginSomething2
BeginSomething3
BeginSomething4
BeginSomething5
End;
End;