Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object >
Clib.ftell() Method
This method sets the position offset of the file cursor of an open file relative to the beginning of the file.
Syntax
Clib.ftell(filePointer)
Returns
The current location of the file cursor, or -1 if there is an error, in which case an error value is stored in Clib.errno.
Usage
This method sets the position offset of the file cursor of the open file indicated by filePointer relative to the beginning of the file. For text files (that is, files not opened in binary mode), the file position may not correspond exactly to the byte offset in the file.
See Also
Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference Published: 18 April 2003 |