Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object >
Clib.fseek() Method
This method sets the position of the file cursor of an open file.
Syntax
Clib.fseek(filePointer, offset[, mode])
Returns
0 if successful, or nonzero if it cannot set the file cursor to the indicated position.
Usage
This method sets the position of the file cursor in the file indicated by filePointer. If mode is not supplied, then the absolute offset from the beginning of the file (SEEK_SET) is assumed. 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
Clib.fgetpos() Method, Clib.ftell() Method, and Clib.rewind() Method
Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel eScript Language Reference Published: 18 April 2003 |