You can read the file into a variable.  The length of that variable is the
end of the file, loop through it from 1 to the length of the file to read
each character one at a time.  If it is a text file, you could also treat
the whole file as a list with the list elements separated by hard
returns,chr(13), and then read each line as a list of words or values
separated by a space (" ").

-----Original Message-----
From: Robyn Follen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 04, 2001 11:09 AM
To: CF-Talk
Subject: EOF- such a thing in CF?


What's the best way to determine the End of File when
dealing with an external file?

Is there such a thing as an EOF marker in CF?

Robyn
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to