- 4.62.2.76 -
Standard Units
System Unit
System Unit Procedures and FunctionsSeek procedure
Targets: MS-DOS, OS/2, Win32
System Unit
Moves the current position of a file to a specified component.
Declaration:
procedure Seek(var F; NewPos: Longint);
Remarks:
F is a file of any type except text.
NewPos is the record or component to move the file pointer to.
Seek works only on open files and cannot be used with text files.
The first component of any file is zero.
With {$I-} IOResult
returns an error code if an error occurred, otherwise it is set to zero.
See also:
{$I} - I/O Checking Switch
|
|
|
RunError procedure |
Table of Content |
SeekEof procedure |
- 4.62.2.76 -