home *** CD-ROM | disk | FTP | other *** search
- (* Chapter 4 - Program 6 *)
- program Repeat_Loop_Example;
-
- var Count : integer;
-
- begin
- Count := 4;
- repeat
- Write('This is in the ');
- Write('repeat loop, and ');
- Write('the index is',Count:4);
- Writeln;
- Count := Count + 2;
- until Count = 20;
- Writeln(' We have completed the loop ');
- end.