Description
Determines whether ColdFusion has reached the end of an on-disk or in-memory file while reading it.
Returns
Yes, if the end of the file has been reached; No, otherwise.
Category
System functions, Decision functions
Function syntax
FileIsEOF(fileObj) |
See also
FileClose, FileOpen, FileRead, FileReadLine
History
ColdFusion 8: Added this function.
Parameters
Parameter |
Description |
---|---|
fileobj |
The file object. |
Example
The following example reads a file until it reaches the end of the file:
<h3>FileIsEOF Example</h3>
|