Good day all, I would like to ask a thing about on error resume next
on error resume next
let\'s assume we have a loop to navigate through a recordset like:
Do w
VBScript resets the error on goto 0:
goto 0
on error resume next i = 1 / 0 WScript.echo( err.number ) '' prints 11 (div by 0) on error goto 0 WScript.echo( err.number ) '' prints 0 (no error)
There is also the explicit err.clear().
err.clear()