Type of While Loop
| Explanation
| Example
|
---|---|---|
While ... Do
| The While ... Do loop evaluates the
condition, and if the condition is true, then it evaluates the expression
following the Do.
When it has finished doing this, it
evaluates the condition again and if the condition is true, it evaluates the
expression following the Do again. It continues repeating this process until
the condition is false.
| While condition Do expression |
Do ... While
| The Do ... While loop evaluates the
expression once no matter what.
It then evaluates the condition,
and if the condition is true, evaluates the expression again. This process
continues until the condition is false.
| Do expression While condition |
SAP BusinessObjects http://www.sap.com/sapbusinessobjects/ Support services http://service.sap.com/bosap-support/ Product Documentation on the Web http://help.sap.com/ |