Unit 'Objects' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

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

TStream.Close

  

Close the stream.

TDosStream.Init

  

Instantiate a new instance of TDosStream.

TDosStream.Done

  

Closes the file and cleans up the instance.


Documentation generated on: Dec 26 2024