Site Tools


break
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


break [2006/08/29 20:18] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +======Synopsis:======
 +[[break]]
 +
 +======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 command|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 by 127.0.0.1