Aide:ExitLoop.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Keyword###
ExitLoop
###Description###
Terminate a While/Do/For loop.
###Syntax###
<b>ExitLoop</b> [level]
###Parameters###
@@ParamTable@@
level
[optional] The number of loop levels to exit from. The default is 1 (meaning the current loop).
@@End@@
###Remarks###
A negative <i>level</i> or zero value has no effect.
ExitLoop will break out of a While, Do or For loop.
ExitLoop is useful when you would otherwise need to perform error checking in both the loop-test and the loop-body.
###Related###
ContinueLoop, Exit, For, Do, While
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
###Keyword###
ExitLoop
###Description###
Termine une boucle While/Do/For.
###Syntax###
<b>ExitLoop</b> [level]
###Parameters###
@@ParamTable@@
level
[optionnel] Le niveau de la boucle à quitter. Par défaut 1 (c'est-à-dire la boucle actuelle).
@@End@@
###Remarks###
Un <i>niveau</i> négatif ou nul n'a aucun effet.
ExitLoop sortira d'une boucle While, Do ou For.
ExitLoop est utile quand vous devez, d'une autre manière, vérifier une erreur dans le corps ou la condition de la boucle.
###Related###
<a href="ContinueLoop.htm">ContinueLoop</a>, <a href="Exit.htm">Exit</a>, <a href="For.htm">For</a>, <a href="Do.htm">Do</a>, <a href="While.htm">While</a>
###Example###
@@IncludeExample@@
Traducteur : jbnh