>>  <<  Usr  Pri  JfC  LJ  Phr  Dic  Voc  !:  Help  Dictionary

break.

break. may be used within a for. , while. , or whilst. control structure, and goes to the end of the innermost such enclosing structure. See also continue. .
 

For example:
itn=: 3 : 0                   NB. Inverse triangular number
 s=.0
 for_j.
  i.2e4
 do.
  if. s>:y do. j break. end.
  s=.j+s
 end.
)

   x=: 10 100 1000 10000
   itn"0 x
5 15 46 142

   ]y=: 2&!^:_1 x
5 14.651 45.2242 141.922

   2!y
10 100 1000 10000


>>  <<  Usr  Pri  JfC  LJ  Phr  Dic  Voc  !:  Help  Dictionary