Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > File I/O Methods in eScript > Clib.ftell() MethodThis method gets the position offset of the file cursor of an open file relative to the beginning of the file. SyntaxReturnsThe current location of the file cursor, or -1 if there is an error, in which case an error value is stored in Clib.errno. UsageThis method gets 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 |
Siebel eScript Language Reference |