Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object >
Clib.fgetc() Method and Clib.getc() Method
These methods return the next character in a file stream.
Syntax
Clib.fgetc(filePointer)
Clib.getc(filePointer)Returns
The next character in the file indicated by filePointer as a byte converted to an integer.
Usage
These methods return the next character in a file stream—a buffer into which a file has been read. If there is a read error or the file cursor is at the end of the file, EOF is returned. If there is a read error, Clib.ferror() indicates the error condition.
See Also
Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference Published: 18 April 2003 |