Description
Reads a line from an on-disk or in-memory file.
Returns
The line of the file.
Category
Function syntax
FileReadLine(fileObj) |
See also
FileClose, FileIsEOF, FileRead, FileWrite
History
ColdFusion 8: Added this function.
Parameters
Parameter |
Description |
---|---|
fileobj |
The file object |
Example
The following example opens a file, reads each line, outputs each line, and then closes the file.
<h3>FileReadLIne Example</h3>
|