Modify

Opened 11 years ago

Closed 10 years ago

#2483 closed Feature Request (Rejected)

DriveGetDrive - different error for "improper drive type" versus "none found"

Reported by: mrider Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

Greetings:

This is a small thing - but it seems to me that returning a different @error for an improper type in DriveGetDrive as opposed to you don't have any of those would be helpful.

So for example, the following might set @error = 1 (assume I have no "NETWORK" drives):

Local $drives = DriveGetDrive("NETWORK")

Whereas the following might set @error = 2

Local $drives = DriveGetDrive("NETOWRK") (note the spelling)

This would greatly simplify handling the difference between "you don't happen to have any of those", versus "nobody can EVER have any of those because the type is wrong".

See the following thread for where I initially asked about this and why I concluded that adding another @error value might be best.

http://www.autoitscript.com/forum/topic/154845-drivegetdrive-api-error-for-proper-type-why/

Thank you for your consideration...

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by TicketCleanup

  • Version 3.3.8.1 deleted

Automatic ticket cleanup.

comment:2 Changed 10 years ago by Jon

  • Resolution set to Rejected
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.