Opened on Apr 30, 2016 at 10:21:05 PM
Last modified on Mar 16, 2024 at 9:51:57 AM
#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 , on May 1, 2016 at 4:19:12 PM
comment:2 by , on May 4, 2016 at 12:45:56 PM
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 , on Oct 12, 2020 at 2:24:09 PM
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:5 by , on Mar 16, 2024 at 9:51:57 AM
| Owner: | changed from to |
|---|

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