Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Forces script execution to stop at any time.
Syntax
object.Quit([intErrorCode])
Arguments
object
WScript object.intErrorCode
Optional. Integer value returned as the process's exit code. If you do not include the intErrorCode parameter, no value is returned.
Remarks
The Quit method can return an optional error code. If the Quit method is the final instruction in your script (and you have no need to return a non-zero value), you can leave it out, and your script will end normally.
Legacy Code Example
Description
The following JScript code snippet quits execution and returns an error code of 1:
WScript.Quit (1);
// This line of code is never executed.
var i = 0;