kingsmartbear
14 years agoContributor
I got "Script execution was interrupted" error even I did error handling.
Hi All:
I'm using following subroutine to run some statement by using ExecuteGlobal statement.
Function GlobalExecute(Byref EvalString)
Dim Result
Result=False
On Error Resume Next
ExecuteGlobal EvalString
If (Err.Number = 0) Then
Result = True
Else
Log.Message ":-( Error happened."
Err.Clear()
End If
GlobalExecute=Result
End Function
I got "Script execution was interrupted" error message and script stopped at Bold line.
How come On Error Resume Next statement can not handle what it should be?
Any idea?
Thanks a lot,
Allan
I'm using following subroutine to run some statement by using ExecuteGlobal statement.
Function GlobalExecute(Byref EvalString)
Dim Result
Result=False
On Error Resume Next
ExecuteGlobal EvalString
If (Err.Number = 0) Then
Result = True
Else
Log.Message ":-( Error happened."
Err.Clear()
End If
GlobalExecute=Result
End Function
I got "Script execution was interrupted" error message and script stopped at Bold line.
How come On Error Resume Next statement can not handle what it should be?
Any idea?
Thanks a lot,
Allan