Skip to content

SeekFile

Narta Xaymar Dirks edited this page Oct 28, 2026 · 6 revisions

Blitz3DBlitzPlusBlitzBasic

SeekFile

SeekFile:Int32 file_stream:Int32, pos:Int32
Parameter Mode Type Default Description
file_stream In Int32 required The file handle.
pos In Int32 required The new position in bytes.

Returns: The new position in bytes from the start of the file, or -1 if the position could not be set.

Description

Moves the position where the next read or write happens. Positions count bytes from the start of the file.

Related Commands

CloseFile, CopyFile, DeleteFile, FilePos, NextFile, OpenFile, ReadFile, WriteFile

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally