How do I ignore errors and let the loop continue while executing a loop in JSL?When an error occurs in a loop during a JSL execution, how do Let the JSL to automatically ignore the error and proceed to the next loop and continue?
Thank you very much!
Re: How do I ignore errors and let the loop continue while executing a loop in JSL?OK、Thank Jim!
Re: How do I ignore errors and let the loop continue while executing a loop in JSL?The easiest way to handle this is to use the Try() function.
It allows you to return a value if the statement(s) within the Try() function have an error. You can then detect the error and handle it the way it needs to be handled.
See the Try() function in the Scripting Index for definition and example
Re: How do I ignore errors and let the loop continue while executing a loop in JSL?This code is available in VBA:
On Error GoTo ,
but I haven't found similar functionality in JSL.