Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Ignore Handle Error Errors Handler Handling Return Call Called Script .WBT IntControl 73
Foo.wbt:
Call(DirScript():'Bar.wbt','') Message('Program Foo','Complete') Exit
Bar.wbt:
IntControl(73,1,0,0,0) badline=Message(aaaa,bbb) Pause('Program Bar','Complete') Return 999 :WBERRORHANDLER ;lasterr = wberrorarray[0] ;handlerline = wberrorarray[1] ;textstring = wberrorarray[5] ;linenumber = wberrorarray[8] ;errstr = StrCat("Number: ",lasterr,@LF,"String: ",textstring,@LF,"Line (",linenumber,"): '",handlerline,"'") ;Message("Error Information",errstr) Return 0
Article ID: W17868
Filename: Ignore Error and Return From Called Script.txt
File Created: 2013:03:11:10:16:06
Last Updated: 2013:03:11:10:16:06