LOTUSSCRIPT LANGUAGE


While statement
Example

Executes a block of statements repeatedly while a given condition is true.

Syntax

While condition

[ statements ]

Wend

Elements

condition


Usage

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.

Language cross-reference

@While function in formula language

@For function in formula language

Example
See Also