###Keyword###
While...WEnd

###Description###
Loop based on an expression.



###Syntax###
<b>While</b> &lt;expression&gt;
	<i>statements</i>
	...
<b>WEnd</b>



###Parameters###
@@ParamTable@@
expression
	If the expression is true the following statements up to the WEnd statement are executed.  This loop continues until the expression is false.
@@End@@


###Remarks###
While...WEnd statements may be nested.
The expression is tested before the loop is executed so the loop will be executed zero or more times.
To create an infinite loop, you can use a non-zero number as the <i>expression</i>.

###Related###
<a href="ContinueLoop.htm">ContinueLoop</a>, <a href="Do.htm">Do...Until</a>, <a href="ExitLoop.htm">ExitLoop</a>


###Example###
@@IncludeExample@@
