Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Quit ====== Method of [[:scripting:api:wscript:start|IWScript]] ===== Description ===== Forces script execution to stop at any time ===== Parameters ===== * [[scripting:api:data-type:long|long]] **intErrorCode** = 0 (optional) ===== Syntax ===== ==== JavaScript ==== <code javascript> WScript.Quit(intErrorCode); </code>==== Visual Basic Script ==== <code vb> WScript.Quit intErrorCode </code>==== C++ ==== <code cpp> HRESULT hr = WScript.Quit(intErrorCode); </code>===== See Also ===== [[:scripting:api:wscript:start|IWScript]] ~~NOTOC~~