|
Iteration Structures
|
Previous Top Next |
| 1. | "for" VAR ":=" EXPR "to" EXPR "do" BLOCK |
|
| 2. | "for" VAR ":=" EXPR "downto" EXPR "do" BLOCK |
|
| 3. | "while" EXPR "do" BLOCK |
|
| 4. | "repeat" BLOCKLIST "until" EXPR |
|
| - | Example :
|
| Begin
|
| //it writes a string into the file
|
| text:=TextFileWriteln(UnFile,'Luca Rossi');
|
| End;
|