Thanks to all for your suggestions.  I will try to decide which is the best
option for our shop.

Billy Cravens wrote:

> I'll agree that CF isn't really the best tool to do this (due to the size of
> the file), but you can probably split the entire file into a list (try
> #chr(10)# as your delimiter), then to an array.  Perl seems like the best
> choice (this is Perl's forte), though an alternative would be to build a COM
> object that does this (or use the CFX mentioned)
>
> ----- Original Message -----
> From: "Bob Gillham" <[EMAIL PROTECTED]>
> To: "List@Dfwcfug. Org" <[EMAIL PROTECTED]>
> Sent: Tuesday, January 08, 2002 4:22 PM
> Subject: Read a file
>
> > Anyone know an easy way to read a file in one line at a time.  And
> > perhaps stop after so many lines.  I have a 120 meg file that I would
> > like to read a little of.
> >
> > Thanks in advance.
> >
> >
> > -------------------------------------------------------------------------
> > This email server is running an evaluation copy of the MailShield anti-
> > spam software. Please contact your email administrator if you have any
> > questions about this message. MailShield product info: www.mailshield.com
> >
> > -----------------------------------------------
> > To post, send email to [EMAIL PROTECTED]
> > To subscribe / unsubscribe: http://www.dfwcfug.org
> >
>
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
>
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org


-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to