The seek procedure


The seek procedure moves the current file position of a file.


  1. The first parameter is a reference to the file variable associated with the file whose current file position is to be moved. NOTE: The file variable must be open in read-only mode or in read/write mode.
  2. The second parameter is an expression of integral type and is the new file position of the file.


Operating Systems: All
Standard Pascal: No