FORMULA LANGUAGE


@DoWhile
Example

Executes one or more statements iteratively while a condition remains true. Checks the condition after executing the statements.

Note This @function is new with Release 6.

Syntax

@DoWhile( statement ; ... ; condition )

Parameters

statement


condition
Return value

true


Usage

@DoWhile executes the statements then evaluates the condition. If the condition is True (1), @DoWhile executes the statements and evaluates the condition again. If the condition is False (0), @DoWhile terminates.

Tip If you are looping through a field containing a list, be sure the Allow multiple values check box is selected in the Field Properties box for the list field.

For other iterative statements, see @For and @While.

Language cross-reference

Do statement of LotusScript language

Example
See Also