Share via


Expected 'while' 

You did not include the while condition in a do...while loop. A do statement must have a corresponding while test at the end of the code block.

To correct this error

  • Include the while test statement after the closing curly brace.

See Also

Reference

while Statement (JScript 5.6)

Concepts

Controlling Program Flow