Topic complex |
System functions |
Function |
remdir() |
Short |
Deletes an (empty) directory |
Syntax |
REMDIR(path : STRING) : INTEGER |
Parameter |
path : directory that is to delete |
Return |
error code of the operation system
0 = if directory is deleted |
See also: |
|
Description |
The following conditions has to be complied that a directory can be deleted successfully:
The directory has to be empty, so it must not include any file.
The programm must have the right to delete directories.
|