Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#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 Changed 6 years ago by Melba23

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

Fixed by revision [10082] in version: 3.3.11.5

comment:2 Changed 6 years ago by anonymous

Thanks - fixed.

M23

comment:3 Changed 6 years ago by anonymous

Thanks - fixed.

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.