FileTell

Category: Files

Back to System Functions


Signature

FileTell(fileHandle As Integer)

Returns

Integer

Description

Returns the current file position in bytes from the start of the file.

This is useful together with FileSeek and the binary read and write functions.

Example

position = FileTell(fileHandle) FileSeek(fileHandle, position)