Varkon MBS Programmers manual
Used to move the filepointer from one position (byte) within a file to another. Next read or write will take place beginning at the new position (byte). If the positioning is performed beyond the end of the file it will automatically grow. If this happens the contents of the new part of the file is undefined.
seek(f, pos); file f; int pos;
f | - The name of a filevariable associated with a file opened for update |
pos | - The position to move the filepointer to. The first byte in the file = 0 |
None.
seek() can only be used on files open for update, see the open() function.
Varkon 1.19D svn # 120M