home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
PASSRC.ZIP
/
READFILE.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-02-04
|
473b
|
25 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 *)
{ Result of execution
(This file is displayed on the monitor)
}