You created a While...Wend loop, but did not properly terminate the loop. A While...Wend loop must be terminated with an associated Wend statement. The following demonstrates the correct structure of a While...Wend loop.

CopyCode imageCopy Code
While condition
   Version [statements]
Wend

To correct this error

  • Make sure that the While...Wend loop includes all the necessary parts.

See Also