|
|
|
|
|
|
|
|
|
|
|
|
|
|
| The statement block is repeated endlessly... |
|
|
|
|
|
|
|
| In a WHILE statement, the expression is evaluated at each beginning of the block of statements... |
|
|
|
|
|
|
|
| The statement block is repeated while a control variable is modified and compared to a limit value (before each beginning of statement block)... |
|
|
|
|
|
|
|
The CONTINUE keyword can correspond: - to the CONTINUE instruction. It allows you to go back to the beginning of the first iteration without finishing the code of the current iteration.
- to the CONTINUE: label. It allows you to declare a common code in a loop.
|
|
|
|
|
|
|
|
| The RETURN statement is used to exit the current event, process or procedure and return a result... |
|
|
|
|
|
|
|
The keyword BREAK can correspond: - to the BREAK statement: it allows you to exit a set of instructions and run the rest of the current process.
- to the BREAK label: it allows you to declare a section of code in a loop. This code will be run when exitingfrom the loop with a "BREAK" statement.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|