Show: Delphi C++
Display Preferences

System.Close

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Close(var F: File): Integer;

Properties

Type Visibility Source Unit Parent
function public System.pas System System

Description

Terminates the association between a file variable and an external file.

Close is provided for backward compatibility with existing code. When writing new applications in Delphi, use CloseFile instead.

F is a file variable of any file type opened using Reset, Rewrite, or Append. The external file associated with F is completely updated and then closed, freeing the file handle for reuse.

See Also

Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance