Aide:While.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Keyword###
While...WEnd
###Description###
Loop based on an expression.
###Syntax###
<b>While</b> <expression>
<i>statements</i>
...
<b>WEnd</b>
###Parameters###
@@ParamTable@@
expression
If the expression is true the following statements up to the WEnd statement are executed. This loop continues until the expression is false.
@@End@@
###Remarks###
While...WEnd statements may be nested.
The expression is tested before the loop is executed so the loop will be executed zero or more times.
To create an infinite loop, you can use a non-zero number as the <i>expression</i>.
###Related###
ContinueLoop, ExitLoop
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
###Function###
While...WEnd
###Description###
Boucle basée sur une expression.
###Syntax###
<b>While</b> <expression>
<i>statements</i>
...
<b>WEnd</b>
###Parameters###
@@ParamTable@@
expression
Si l'expression est vraie, les déclarations qui suivent jusqu'à Wend seront exécutées. Cette boucle continuera jusqu'à ce que l'expression soit fausse.
@@End@@
###Remarks###
Plusieurs déclarations While...WEnd peuvent être imbriquées.
L'expression est testée avant l'exécution de la boucle donc la boucle peut être exécutée zéro ou plusieurs fois.
Pour créer une boucle infinie, vous pouvez utiliser un nombre différent de zéro en tant qu'<i>expression</i>.
###Related###
<a href="ContinueLoop.htm">ContinueLoop</a>, <a href="ExitLoop.htm">ExitLoop</a>
###Example###
@@IncludeExample@@
Traducteur : scorp84
Contributeurs (pour les modifications avant le Wiki) : Tlem