###Keyword###
ExitLoop

###Description###
Beendet eine While-, Do- oder For-Schleife.

###Syntax###
<b>ExitLoop</b> [level]


###Parameters###
@@ParamTable@@
level
	[optional] Die Ebene der Schleife, die beendet werden soll (Standard ist 1, also die aktuelle Schleife).
@@End@@


###Remarks###
Ein negativer <i>level</i> oder einer mit dem Wert 0 hat keinen Effekt.

ExitLoop beendet eine While-, Do- oder For-Schleife.
ExitLoop ist dann ntzlich, wenn du ansonsten eine Fehlerberprfung sowohl im Schleifentest als auch im Schleifencode durchfhren msstest.


###Related###
<a href="ContinueLoop.htm">ContinueLoop</a>, <a href="Exit.htm">Exit</a>, For, Do, While


###Example###
$sum = 0
While 1 ;Endlosschleife, bis ExitLoop aufgerufen wird
	$ans = InputBox("Summe aller Zahlen: " & $sum, _ 
		"Gib eine positive Zahl ein.  (Eine negative zum Beenden)")
	If $ans < 0 Then ExitLoop
	$sum = $sum + $ans
WEnd
MsgBox(0,"Die Gesamtsumme ist", $sum)
