LOC( #handle )

The LOC( #handle ) function retrieves the current position of the file pointer when a file whose handle is specified has been opened for BINARY access.  The current position of the file pointer is used when reading or writing data to a binary file.  See also: SEEK

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 )