Show: Delphi
C++
Display Preferences
System.Erase
From XE2 API Documentation
Delphi
procedure Erase(var F: File);
Contents |
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