FileSeek

Category: Files

Back to System Functions


Signature

FileSeek(fileHandle As Integer, position As Integer)

Returns

Void

Description

Moves the current file position to an absolute byte offset from the start of the file.

Use this before binary reads or writes when you need random access.

Example

FileSeek(fileHandle, 0) value = ReadDword(fileHandle)