System.SysUtils.FileClose

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 Object Pascal language file variables, use the CloseFile procedure instead.

See Also


Code Examples