Manual:DIL Manual/delunit()

From DikuMUD Wiki
< Manual:DIL Manual
Revision as of 22:32, 4 December 2025 by Nove (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function:  integer delunit( filename : string ) ;
  filename
         The name of the Unit file to be deleted.
  Return
         Returns an integer TRUE if deleted FALSE if not delunit is used to delete files that are used with the 'Restore' and 'store' functions.
Example:

---~---~---~---~---~---~---~---~---
dilbegin chest_del ("arg : string /*filename to be deleted*/);
var
        ret:integer;/*to hold the return value if deleted or not*/
code

dilend

---~---~---~---~---~---~---~---~---

See Also
Restore a Unit from a Unit file and
Store Units to a Unit file.


---~---~---~---~---~---~---~---~---

Function:  integer delunit( filename : string ) ;
  filename
         The name of the Unit file to be deleted.
  Return
         Returns an integer TRUE if deleted FALSE if not delunit is used to delete files that are used with the 'Restore' and 'store' functions.
Example:

---~---~---~---~---~---~---~---~---
dilbegin chest_del ("arg : string /*filename to be deleted*/);
var
        ret:integer;/*to hold the return value if deleted or not*/
code

dilend

---~---~---~---~---~---~---~---~---

See Also
Restore a Unit from a Unit file and
Store Units to a Unit file.


---~---~---~---~---~---~---~---~---