Show: Delphi C++
Display Preferences

System.Erase

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Erase(var F: File);

Properties

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

Description

Deletes an external file.

In Delphi code, Erase deletes the external file associated with F. F is a file variable of any file type.

Note: Always close a file before erasing it.

See Also


Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance