FileGetPosition()

Summary

Gets the current Read/Write position of a file.

Syntax

result = FileGetPosition(file f)

Argument Contents
f The handle of the file

Returns

An integer (zero-based) indicating the byte location within the file.

Error Codes

Error Type Meaning
Error File is not open

See Also

Function Summary
OpenFile() Opens a text or binary file on disk
FileAtEOF() Tests to see if the end of a file has been reached
FileSetPosition() Sets the current Read/Write position of a file