This construct allows the execution of the group of instructions between while and end_while to be repeated as long as the condition defined in the instruction holds true.
Syntax |
|
|
---|---|---|
condition |
Can be a generic mathematical expression, the result of which is taken as false if it is worth 0, otherwise as true |
|
Validity |
Rule, Task |
|
Note |
The use of the break is allowed |
Example of use with condition:
Example of infinite loop:
Example of use with break: |