see TStringList.LoadFromFile()
Todd. Marshland Engineering wrote:
Hi I'm just starting with Delphi. I need to read a text file (G-Code for CNC) and write a conversion process to a produce a different text file format. I can read the file into a memo but I need to know how many lines I have read to process it. I can count them if there is an end of file marker. Thanks Wallace------------------------------------------------------------------------ _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.5/769 - Release Date: 19/04/2007 5:56 p.m.
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
