TDosStream.Close¶
Close the file.
Declaration¶
Source position: objects.pp line 364
procedure TDosStream.Close; virtual;
Description¶
Close closes the file if it was open, and sets Handle to -1. Contrary to Done it does not clean up the instance of TDosStream
For an example, see TDosStream.Open.
Errors¶
None.
See also¶
| Name | Description |
|---|---|
| TStream.Close | Close the stream. |
| TDosStream.Init | Instantiate a new instance of TDosStream. |
| TDosStream.Done | Closes the file and cleans up the instance. |