break

March 6th, 2008 Posted in Controls

Terminate execution of or loop.
break terminates the execution of FOR and WHILE loops.
In nested loops, break exits from the innermost loop only.

you use break outside of a FOR or WHILE loop in a
script or function, it terminates the script or function at
that point. If break is executed in an IF, -, or
TRY-CATCH statement, it terminates the statement at that point.

Leave a Reply

You must be logged in to post a comment.