Modify

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)

comment:1 by Melba23, 10 years ago

"Maybe Information in form of @extended has more sense in this case"

Certainly better than altering the normal return.

M23

in reply to:  1 comment:2 by Micha, 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:3 by J-Paul Mesnage, 5 years ago

Fix sent to Jon
return stay to 0 but @error is set

comment:4 by J-Paul Mesnage, 5 years ago

Owner: set to J-Paul Mesnage
Status: newassigned

comment:5 by J-Paul Mesnage, 2 years ago

Owner: changed from J-Paul Mesnage to Jon

Modify Ticket

Action
as assigned The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.