Opened 10 years ago
Last modified 2 years ago
#3227 assigned Feature Request
DirRemove - If directory does not exist: Return value 1 instead of 0
| Reported by: | Micha | Owned by: | Jon |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
Because the function DirRemove reached the target (even if the directory does not exist) there is more sense to return 1 instead of 0. The function does not fail, it is not needed.
Maybe Information in form of @extended has more sense in this case.
Attachments (0)
Change History (5)
follow-up: 2 comment:1 by , 10 years ago
comment:2 by , 10 years ago
Replying to Melba23:
"Maybe Information in form of @extended has more sense in this case"
Certainly better than altering the normal return.
M23
Ok yes, your right. The function is not not needed, but not successful in that way, too.
The best is to set @extended if the directory does not exists and keep the current return values.
comment:4 by , 5 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:5 by , 2 years ago
| Owner: | changed from to |
|---|

"Maybe Information in form of @extended has more sense in this case"
Certainly better than altering the normal return.
M23