Loc

Returns a Long integer specifying the current read/write position. With files opened using Random mode, Loc returns the number of the last record read or written. When opening files with all other modes, Loc returns the position of the last byte read or written.

Syntax

file.Loc