Aide:If.txt

De Wiki AutoIt Français
Aller à : navigation, rechercher

Document original V3.3.6.1 :

###Keyword###
If...Then

###Description###
Conditionally run a single statement.

###Syntax###
<b>If</b> &lt;expression&gt; <b>Then</b> <i>statement</i>


###Parameters###
@@ParamTable@@
expression
	If the expression is true, the statement is executed.
@@End@@


###Remarks###
This version of the If statement is used to execute a single statement without the overhead of an EndIf.
The <i>expression</i> can contain the boolean operators of AND, OR, and NOT as well as the logical operators &lt;, &lt;=, &gt;, &gt;=, =, ==, and &lt;&gt; grouped with parentheses as needed.


###Related###
<a href="IfElseEndIf.htm">If...Else...EndIf</a>, <a href="Select.htm">Select...Case...EndSelect</a>, <a href="Switch.htm">Switch...EndSwitch</a>


###Example###
@@IncludeExample@@


Document traduit V3.3.6.1 :

###Keyword###
If...Then

###Description###
Exécute conditionnellement une seule déclaration.


###Syntax###
<b>If</b> &lt;expression&gt; <b>Then</b> <i>déclaration</i>


###Parameters###
@@ParamTable@@
expression
	Si l'expression est vraie, la déclaration est exécutée.
@@End@@


###Remarks###
Cette version de la condition If est utilisée pour exécuter une seule déclaration sans la présence d'un EndIf.
L'<i>expression</i> peut contenir les opérateurs booléens AND, OR et NOT tout comme les opérateurs logiques &lt;, &lt;=, &gt;, &gt;=, =, ==, et &lt;&gt; groupés avec des parenthèses si besoin.


###Related###
<a href="IfElseEndIf.htm">If...Else...EndIf</a>, <a href="Select.htm">Select...Case...EndSelect</a>, <a href="Switch.htm">Switch...EndSwitch</a>


###Example###
@@IncludeExample@@


Traducteur : jbnh