[Overview][Types][Classes] | Reference for unit 'iostream' (#fcl) |
Set the stream position
Source position: iostream.pp line 35
public function TIOStream.Seek( |
Offset: LongInt; |
Origin: Word |
):LongInt; override; |
Offset |
|
Byte offset to position the stream on |
Origin |
|
Where to start the byte offset |
New position of the stream.
Seek overrides the standard Seek implementation. Normally, standard input, output and stderr are not seekable. The TIOStream stream tries to provide seek capabilities for the following limited number of cases:
All other cases will result in a EIOStreamError exception.
An EIOStreamError exception is raised if the stream does not allow the requested seek operation.
|
Error thrown in case of an invalid operation on a TIOStream. |
No notes exist for this page yet.