QB64.com

QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

The SEEK statement sets the next byte or record position of a file for a read or write.

Syntax

SEEK filenumber&, position

Example(s)

A SEEK statement using the SEEK function to move to the next random record in a file.


 SEEK 1, SEEK(1) + 1

See Also