Opened 9 years ago
Last modified 8 months 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)
comment:1 follow-up: ↓ 2 Changed 9 years ago by Melba23
comment:2 in reply to: ↑ 1 Changed 9 years ago by Micha
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:3 Changed 4 years ago by Jpm
Fix sent to Jon
return stay to 0 but @error is set
comment:4 Changed 4 years ago by Jpm
- Owner set to Jpm
- Status changed from new to assigned
comment:5 Changed 8 months ago by Jpm
- Owner changed from Jpm to Jon
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
"Maybe Information in form of @extended has more sense in this case"
Certainly better than altering the normal return.
M23