Modify

Opened 6 years ago

Closed 6 years 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 by Melba23, 6 years ago

Resolution: Fixed
Status: newclosed

Fixed at revision 12230.

M23

Modify Ticket

Action
as closed The owner will remain Melba23.

Add Comment


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