Thread: Exit VBScript
View Single Post
  #6  
Old 12-14-2005, 02:30 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,754
Actually, only the WScript CreateObject, Sleep, and Echo methods are supported (we'll update the docs to be explicit about that). But, again, there are other ways to exit a script "prematurely." Also, if you want to stop the build with an error from within script code, use

Err.Raise 1, Step.Name, "error description"
Reply With Quote