Liberty BASIC Help Online

SEEK #handle, position
This command seeks to the desired point in the file for reading or writing in a file opened for BINARY access.  SEEK sets the file pointer to the location specified. Data will be read from or written to the file at the location of the file pointer.  See also: LOC( #h )
This parameter is the handle of a file opened for binary access.
This is the new location for the file pointer.
open "myfile.ext" for binary as #handle
'seek to file position
seek #handle, fpos

Copyright (C) 2003 Shoptalk Systems
Liberty BASIC -