From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure Erase(var F: File);


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


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