Programming Reference Manual
 
Syntax
 
FLoc(handle%)
 
Description
Returns the offset of the filepointer in the file, opened with FOpen onder handle%. 
 
Parameter
Description
handle%
A handle to the file, previously opened with the FOpen instruction.
See Also
Example
 
Sub Main
Dim Hnd%, rec&
Hnd% = FOpen(“C:\MYDBASE.DAT”, 0, 4)
'read-only, shared
FSeek Hnd%, 0
Rec&=1
While Not FEof(Hnd%)
Print FGetR(Hnd%, 4, Rec&)'record is 4 bytes
Print “Offset=”, FLoc(Hnd%) 'current position
Wend
FClose Hnd%
End Sub