SysUtils.FileClose
From RAD Studio VCL Reference
Contents |
Delphi Information
From SysUtils.pas
procedure FileClose(Handle: Integer);
Unit: SysUtils
Type: procedure
Visibility: public
C++ Information
From SysUtils.hpp
void __fastcall FileClose(int Handle);
Unit: SysUtils
Type: function
Description
Closes a specified file.
FileClose closes a file given its handle. The handle is obtained when the file is opened using FileOpen or FileCreate.
Note: When working with Delphi language file variables, use the CloseFile procedure instead.
See Also
Code Samples
- ExtractFileName (Delphi)
- FileListBox (Delphi)
- FileToGrid (Delphi)
- ExtractFileName (C++)
- FileToGrid (C++)