Break is a statement that exits from a while loop and continues with the next statement. This statement isn’t explicitly defined on IBM’s website for TM1, so be mindful that there could be unintended consequences when using this statement, where it’s been discovered that two or more break statements within a while loop could cause an infinite loop. So please stick to one break statement within a while loop to achieve its intended action.
In this video, Break will be used to end an infinite loop.
TurboIntegrator
Version 11 and 12
Break;