[DUG] Memo files Lines
Todd Martin
toddm at kol.co.nz
Fri Apr 20 17:18:20 NZST 2007
You'd probably be better off to use a non-visual object (TStringList) to
do this, since it sounds like you don't need to see the G-Code.
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: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5143 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20070420/83fee302/smime-0001.bin
More information about the Delphi
mailing list