AssignStream¶
Assign a text file to a stream.
Declaration¶
Source position: streamio.pp line 31
procedure AssignStream(var F: Textfile; Stream: TStream);
Arguments¶
| Name | Description |
|---|---|
| F | The file one wishes to reroute through a stream. |
| Stream | The stream that should perform the actual I/O. |
Errors¶
if Stream is Nil, an exception will be raised.