Yeah, and did you try reading a +1GiB txt file? ;-)
El 28/4/2017 12:22, "Laurie Alvey" <trukke...@gmail.com> escribió: > Have you thought about the ALINES() function? > > Laurie > > On 27 April 2017 at 16:12, Fernando D. Bozzo <fdbo...@gmail.com> wrote: > > > Hi Mike: > > > > A very fast method is using the FileSystemObject: > > > > loFSO = CREATEOBJECT("Scripting.FileSystemObject") > > loFile1 = loFSO.OpenTextFile(lcArchivo1, 1) > > > > Look at the syntax on Microsoft web site for the read method. > > It does not have the limitation of VFP's fread/fgets > > > > Regards > > > > El 21/4/2017 4:45 p. m., <mbsoftwaresoluti...@mbsoftwaresolutions.com> > > escribió: > > > > > VF9SP2 > > > > > > Currently, I'm simply doing this for now: > > > > > > RowCount = OCCURS(CHR(13),FILETOSTR(m.Filename)) > > > > > > Is there a better (read: FASTER) way? These are tab delimited text > files > > > so I can't really use FSEEK or FSIZE(m.Filename) (which requires SET > > > COMPATIBLE ON) because I can't be sure of each record's length. > > > > > > tia, > > > --Mike > > > > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cagq_jukezybcdz3etb1qvnsp5yjs0uz0s7pqgnpwtymogvh...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.