User Tools

Site Tools


break

Synopsis:

Description:

Break, like its C counterpart, breaks out of a loop.

Examples:

 @loop = 0
 while (0==0) {                      /* endless loop? */
   @loop++
   if (loop==20) break
 }                                   /* loop only made 20 iterations */

See Also:

alias; continue; return; for; while; until

# $EPIC: break.txt,v 1.2 2006/08/29 18:22:56 sthalik Exp $

break.txt · Last modified: 2006/08/29 20:18 (external edit)