From HyPhy Wiki
break is a control flow tool.
break is a control flow tool that may only exist during a while or for loop. It terminates nearest enclosing loop.
for (k = 0;k <= 10; k=k+1)
if (k >= 2)
In the code example, k will print 2.