-
Declaration:
- Procedure Erase (Var F : Any file type);
-
Description:
- Erase removes an unopened file from disk. The file should be assigned with Assign, but
not opened with Reset or Rewrite
-
Errors:
- Depending on the state of the {$I} switch, a runtime error can be generated if there is an
error. In the {$I-} state, use IOResult to check for errors.
-
See also:
- Assign (455)
Listing: refex/ex20.pp