TIP: Click on subject to list as thread! ANSI
echo: delphi
to: JUD MCCRANIE
from: ALEX SHEPETKO
date: 1997-08-04 21:21:00
subject: Re: READ A TEXT FILE

ddt.demos.su!f400.n5020!f1.n4625!f30.n4625!server.oaio.savebank!f30.n4625.z2!p
16.f30.n4625.z2!not-for-mail
Hello, Jud!
25-Jul-97, Jud McCranie wrote to All
          About: READ A TEXT FILE
 JM> How do you read a text file in Delphi 3?  That is, what is the
 JM> equivalent of
 JM> var f : text;
 JM>     line : string;
 JM> ...
 JM> assign( f, 'text.dat');
 JM> reset( f);
 JM> readln( f, line);
 JM> close( f);
 JM> Jud McCranie  jud.mccranie@camcat.com
 JM> ... The ease of Pascal with the power of Pascal.
 var
  F: TextFile;
  line: String;
 ...
 AssignFile (F, 'text.dat');   
 Reset (F);
 ReadLn (F);
 CloseFile (F);
Best wishes, Alex Shepetko
--- Terminate 4.00/Pro
---------------
* Origin: P.O.S.T.E. "Elena" Vinnytsia elenavin@sovamua.com (2:4625/30.16)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.