Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






Using the While statement

The iterative block statement While executes a block of statements repeatedly while a condition is true.

The syntax is:

While condition

statements

Wend

LotusScript evaluates the condition of a While statement before each repetition of the statement body. As soon as the condition is false, control passes to the statement following Wend.

No statement outside the While statement body should transfer control into it, bypassing the evaluation of condition; the results are unpredictable.

Related topics
Iterative statements
Do and Do...While loops
ForAll loops for lists and arrays
For...Next loops
While statement




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009