home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
pascal
/
pascsrc.arc
/
READFILE.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1988-01-15
|
392b
|
15 lines
(* Chapter 11 - Program 1 *)
program Read_A_File;
var Turkey : TEXT;
Big_String : string[80];
begin (* main program *)
Assign(Turkey,'READFILE.PAS');
Reset(Turkey);
while not Eof(Turkey) do begin
Readln(Turkey,Big_String);
Writeln(Big_String);
end; (* of while loop *)
Close(Turkey);
end. (* of program *)