Thread: Exit VBScript
View Single Post
  #6  
Old 12-14-2005, 01:30 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,015
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