System.Erase

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure Erase(var F: File);

Properties

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

Description

Deletes an external file.

In Object Pascal 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