Opened 2 years ago

Closed 23 months ago

#3810 closed Bug (Fixed)

_ArrayUnique not handling "Default" for Parameter $iIntType

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


_ArrayUnique is missing a line

	If $iIntType = Default Then $iIntType = $ARRAYUNIQUE_AUTO

thus returning @error = 5, when the parameter is supplied with 'Default'

Local $aArray[3] = [1, 2, 3]

; This fails:
_ArrayUnique($aArray, Default, Default, Default, Default, Default) 

; This works:
_ArrayUnique($aArray, Default, Default, Default, Default)

Attachments (0)

Change History (1)

comment:1 Changed 23 months ago by Jpm

  • Milestone set to
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [12498] in version:

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

as closed The owner will remain Jpm.

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

Note: See TracTickets for help on using tickets.