What does the “On Error Resume Next” statement do?

后端 未结 7 2595
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-29 07:54

I came to some VBScript examples, and I saw the statement On Error Resume Next basically at the beginning of the script.

What does it do?

7条回答
  •  生来不讨喜
    2020-11-29 08:40

    On Error Statement - Specifies that when a run-time error occurs, control goes to the statement immediately following the statement. How ever Err object got populated.(Err.Number, Err.Count etc)

提交回复
热议问题