Executes a block of statements repeatedly while a given condition is true.
While condition
[ statements ]
Wend
condition
Any numeric expression. LotusScript® interprets a value of 0 as FALSE, and interprets any other value as TRUE.
LotusScript tests condition before entering the loop and before each subsequent repetition. The loop repeats while condition is TRUE. When condition is FALSE, execution continues with the first statement following the Wend statement.