continue. may be used within
a for. ,
while. ,
or whilst.
control structure, and goes to the top of
the innermost such enclosing structure. See
also break. .
|
sumeven=: 3 : 0 s=.0 for_j. i.y. do. if. 2|j do. continue. end. s=.j+s end. ) sumeven 9 20 +/ (* -.@(2&|)) i.9 20 sumeven 1000 249500 +/ (* -.@(2&|)) i.1000 249500 (sumeven = 2&!@>.&.-:) 1000 1