Modify

#2698 closed Bug (Fixed)

_ArrayAdd return wrong index

Reported by: anonymous Owned by: Melba23
Milestone: 3.3.11.5 Component: AutoIt
Version: 3.3.11.4 Severity: None
Keywords: Cc:

Description

I help file for this functions said that
Success: the index of last added item.

This script add item in index 0, but _ArrayAdd return 1.

Local $array[0]
$index = _ArrayAdd($array,123)
ConsoleWrite($index & @CRLF) ; show 1

return 1 instead of 0

beta 3.3.11.4

Attachments (0)

Change History (3)

comment:1 by Melba23, on Apr 27, 2014 at 6:25:53 PM

Milestone: 3.3.11.5
Owner: set to Melba23
Resolution: Fixed
Status: newclosed

Fixed by revision [10082] in version: 3.3.11.5

comment:2 by anonymous, on Apr 27, 2014 at 6:26:48 PM

Thanks - fixed.

M23

comment:3 by anonymous, on Apr 27, 2014 at 6:26:55 PM

Thanks - fixed.

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.