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

后端 未结 7 2591
佛祖请我去吃肉
佛祖请我去吃肉 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:22

    On Error Resume Next means that On Error, It will resume to the next line to resume.

    e.g. if you try the Try block, That will stop the script if a error occurred

提交回复
热议问题