Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object >

Clib.feof() Method


This function determines whether a file cursor is at the end of a file.

Syntax

Clib.feof(filePointer)

Parameter
Description
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.


 Siebel eScript Language Reference 
 Published: 18 April 2003