Login    Sites MenuBlueStep

BlueStep Platform Support

RelateScript
Outline full outline 
Overview 
Data Types 
Operators 
Statements 
The if Statement 
The while Loop Statement 
The do/while Loop Statement 
The for Loop Statement 
The for/in Loop Statement 
The continue Statement 
The break Statement 
The Array Creation Statement 
Functions 
Working with Relate Data 
How Formulas Work 
Related Topics 

Syntax:
do body-statement while ( boolean-expression );

In the above syntax description, the single body-statement may be replaced with multiple statements by enclosing those statements in a statement block using braces:

{ statement1; statement2; statement3; }

Description:
The do/while statement repeatedly executes the body-statement as long as the boolean-expression evaluates to true up to a maximum of 10,000 executions. If the boolean-expression evaluates to false or null, looping stops and the formula continues by executing any statements after the do/while statement. Note that the body-statement will always be executed at least once since the boolean-expression is not evaluated until after the first execution. If the boolean-expression is omitted, then it is considered to be true every time.