Site Tools


break

Differences

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

Link to this comparison view

break [2006/08/29 20:18] (current)
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 (external edit)