Siebel eScript Language Reference > Siebel eScript Commands > File I/O Methods in eScript >
Clib.feof() Method
This function determines whether a file cursor is at the end of a file. Syntax
Clib.feof(filePointer)
|
|
filePointer |
A file pointer as returned by Clib.fopen() |
Returns
A nonzero integer if the file cursor is at the end of the file; 0 if it is not at the end of the file. Usage
This method determines whether the file cursor is at the end of the file indicated by filePointer. It returns a nonzero integer (usually 1) if true, 0 if not.
|