Contents | Prev | Next

7.2.19 The filepos function

Description

The filepos function returns the current file position of a file. The type of the value returned by this function is always integer.

Parameter

The filepos function's only parameter is a reference to the file variable, that specifies the file whose current file position is to be returned. NOTE: For a file variable of type text the value of the file position may not be equal to the number of characters read/written to the file so far. NOTE: For file variable of other types, the value of the file position is equal to the number of characters read/written so far. The file variable must refer to an open file.

Portability

Operating Systems: All
Standard Pascal: No

Contents | Prev | Next