While ... WEnd
Repeat a block of statements.
Syntax
While condition
[Statements]
WEnd
Key
condition An expression that evaluates to True or False
Statements Program code to be executed if condition is True
Example
While second(Time()) > 30
WScript.Echo "This line will repeat for 30 seconds"
Wend