break

Details

Terminate a loop.

Examples

def printloop(a,b){
   for(s in a:b){
       print s
       if (mod(s,10)==1)
           break
   }
};

printloop(9,15);
// output
9
10
11

// It jumps out of the inner loop when t=11. But the outer loop continues executing, which has been executed 6 times totally.