Modify

Opened 3 weeks ago

Closed 3 weeks ago

#3737 closed Bug (Fixed)

_ArrayUnique fails on single element array when base set to 1

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

Description

When using the $iBase feature to ignore the first element, the function hard fails on a single element array.

Global $aArray[1] = ["test"]    ; add a single row to the array
_ArrayUnique($aArray, 0, 1)     ; Arguments: $iColumn = 0, $iBase = 1 (1-based)

See https://www.autoitscript.com/forum/topic/200645-bug-_arrayunique-doesnt-handle-array-with-1-row-when-1-based-is-enabled/

M23

Attachments (0)

Change History (1)

comment:1 Changed 3 weeks ago by Melba23

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

Fixed at revision 12230.

M23

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 owner will remain Melba23.
Author


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

 
Note: See TracTickets for help on using tickets.