February 2018
Intermediate to advanced
340 pages
9h 43m
English
The preceding example uses the flatfile as an illustration of how to seek, read and write at the position in the file. In general, for moving the position of the current pointer in the File, the Seek method can be used. It takes two arguments and these are, position and how to count the position, 0 - relative to file origin, 1 - relative to current position, 2 - relative to the end of file. This way you are able to move the cursor within the file. The Seek method is used in the implementation of the readLine function in the preceding code.
Read now
Unlock full access