[This is preliminary documentation and subject to change]
You attempted to use the continue statement outside of a loop. The continue statement can be used only within the body of a:
To correct this error
Continue | Controlling Program Flow | Troubleshooting Your Scripts | JScript Language Reference