Aide:Exit.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Keyword###
Exit
###Description###
Terminates the script.
###Syntax###
<b>Exit</b> [return code]
###Parameters###
@@ParamTable@@
return code
[optional] Integer that sets the script's return code. This code can be used by Windows or the DOS variable %ERRORLEVEL%. The default is 0. Scripts normally set an errorlevel of 0 if the script executed properly; error levels 1 and above typically indicate that the script did not execute properly.
@@End@@
###Remarks###
The parameter, if included, can be enclosed in parentheses. Thus, the following are equivalent: <b>Exit</b>, <b>Exit 0</b>, and<b> Exit(0)</b>. However, <b>Exit()</b> is invalid.
The code can be retrieved in an OnAutoItExitRegister function by @EXITCODE.
###Related###
ExitLoop, OnAutoItExitRegister
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
###Keyword###
Exit
###Description###
Termine le script.
###Syntax###
<b>Exit</b> [return code]
###Parameters###
@@ParamTable@@
return code
[optionnel] Un entier qui défini le code de retour du script. Ce code peut être utilisé par Windows ou la variable DOS %ERRORLEVEL%. 0 par défaut. Les scripts définissent normalement un "errorlevel" de 0 si le script s'est exécuté proprement; l'error levels 1 ou plus indiquent typiquement que le script ne s'est pas exécuté proprement.
@@End@@
###Remarks###
Le paramètre, si défini, peut être entouré de parenthèses. Ainsi, ce qui suit est équivalent : <b>Exit</b>, <b>Exit 0</b>, and<b> Exit(0)</b>. Toutefois, <b>Exit()</b> est invalide.
Le code peut être récupéré avec la fonction OnAutoItExitRegister par @EXITCODE.
###Related###
<a href="ExitLoop.htm">ExitLoop</a>, <a href="OnAutoItExitRegister.htm">OnAutoItExitRegister</a>
###Example###
@@IncludeExample@@
Traducteur : jbnh