Show: Delphi C++
Display Preferences

System.SysUtils.FileClose

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure FileClose(Handle: THandle);

C++

extern DELPHI_PACKAGE void __fastcall FileClose(NativeUInt Handle);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

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 Examples

Personal tools
In Other Languages
Previous Versions
Assistance