5.4.2.2 While Statement

A <while-statement> executes a sequence of statements as long as a specified pre-condition is True.

 while-statement = "While" boolean-expression EOS  statement-block  "Wend"  

Runtime Semantics.

The <boolean-expression> is repeatedly evaluated until the value of an evaluation is the data value False. Each time an evaluation of the <boolean-expression> has the data value True, the <statement-block> is executed prior to the next evaluation of <boolean-expression>.