home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Education Master 1994 (4th Edition)
/
EDUCATIONS_MASTER_4TH_EDITION.bin
/
files
/
progscal
/
ptutor2b
/
repeatlp.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1988-01-15
|
372b
|
16 lines
(* 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.