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






While statement

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

Syntax

While condition

[ statements ]

Wend

Elements

condition

Any numeric expression. LotusScript interprets a value of 0 as FALSE, and interprets any other value as TRUE.

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

See examples

Examples: While statement
Related topics
LotusScript Language Reference: U through Z
Do statement
Exit statement
For statement
ForAll statement




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009