FilePos
Returns the current file position.
Structure
FilePos(var F): Longint;
Parameters
Return Value
Description
Use FilePos on the file variable of an open file to determine the current position in the file. If the current position in the file is at the very beginning, FilePos returns 0. Otherwise, FilePos returns the byte offset from the beginning of the current position.
FilePos will not work on a file that is not open or on a text file. |