@@SECTION ControlFlow Control Flow
DGD includes many statements that affect the flow of control. For loops, while, do/while and less common statements like catch are all available.
@@SECTION ControlFlow.ForWhile For and While LoopsTechnically any for loop can be rewritten with an empty body — just put everything inside the parentheses. If there's code in both the third section and the body, the code in the body happens first.