Following control statements can be used - - If ... EndIf Loop
1
2
3
4
5
6
7
|
if [not] exp [ and / or [not] exp ]. ........ [elseif exp. .......] [else. .......] Endif. |
- Case statement
1
2
3
4
5
6
7
8
9
|
Case variable. when value1. ......... when value2. ......... [ when others. .........] Endcase. Do. |
-While loop
1
|
|
1
|
While <logical expression>. |
- Do loop
1
|
|
1
|
Do <n> times. |