Seeking
A program does not necessarily have to read through a file sequentially: It can jump to specific locations in the file or to the end of file so as to append to it.
The action of moving directly to a certain position in a file is often called seeking.
Seek(Source_file, Offset)
- Source_file = the logical file name in which the seek will occur
- Offset = the number of positions in the file the pointer is to be moved from the start of the file.