Read error trapped by system not code

Getting started -basics for starting with WinTask

Read error trapped by system not code

Postby Dowell on Thu Feb 13, 2014 9:30 am

What function tells the system not to trap the error . . . what do I need to set ???
I receive a Read error message when the file to read does not exist and the script stops. I do not want this error message.
Posts: 19
Joined: Sun Jun 19, 2005 7:02 pm

Re: Read error trapped by system not code

Postby TechSupport on Fri Feb 14, 2014 4:21 pm


If you specify
all the lines after this line are executed without displaying an error message when there is an execution error. But it is highly recommended to test then the return code of each function executed at each line as if one line fails, all the others will fail to.

Another way is to use OnAction Error, it calls a subroutine as soon as an error occurs.

WinTask Tech Support
Posts: 805
Joined: Thu Nov 16, 2006 9:58 am

Return to Getting started

Who is online

Users browsing this forum: No registered users and 1 guest