Difference between revisions of "Manual:DIL Manual/delunit()"
Jump to navigation
Jump to search
(XML import) |
(XML import) |
||
| Line 1: | Line 1: | ||
| + | <span id="bfdelunit"></span> | ||
| + | |||
| + | '''Function:''' <i><!--CODE-->integer delunit( filename : string ) ;</i><!--ENDCODE--> | ||
| + | |||
| + | <!--TERM--> '''filename''' | ||
| + | <!--DEFINITION--> The name of the Unit file to be deleted. | ||
| + | <!--TERM--> '''Return''' | ||
| + | <!--DEFINITION--> 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:''' | ||
| + | <i><!--CODE--> | ||
| + | ---~---~---~---~---~---~---~---~--- | ||
| + | dilbegin chest_del ("arg : string /*filename to be deleted*/); | ||
| + | var | ||
| + | ret:integer;/*to hold the return value if deleted or not*/ | ||
| + | code | ||
| + | dilend | ||
| + | |||
| + | ---~---~---~---~---~---~---~---~--- | ||
| + | |||
| + | </i><!--ENDCODE--> | ||
| + | '''See Also''' | ||
| + | [[#bfrestore|Restore a Unit from a Unit file]] and | ||
| + | [[#bpstore|Store Units to a Unit file]]. | ||
| + | |||
| + | |||
| + | |||
| + | ---~---~---~---~---~---~---~---~--- | ||
<span id="bfdelunit"></span> | <span id="bfdelunit"></span> | ||
| Line 18: | Line 45: | ||
ret:integer;/*to hold the return value if deleted or not*/ | ret:integer;/*to hold the return value if deleted or not*/ | ||
code | code | ||
| − | + | dilend | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
---~---~---~---~---~---~---~---~--- | ---~---~---~---~---~---~---~---~--- | ||
Latest revision as of 22:32, 4 December 2025
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.
---~---~---~---~---~---~---~---~---