Opened 15 years ago

Closed 15 years ago

#600 closed Bug (Fixed)

Array.au3 in Beta the functions don't work with 2D Array

Reported by: TalivanIBM Owned by: Gary
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


i have proved the Beta and, for example, the function _ArraySearch don't work with 2D Array, in Array.au3 the second line of this function is

If UBound($avArray, 0) <> 1 Then Return SetError(2, 0, 0)

and always if the $avArray is 2D returns error 2 because UBound returns 2 and it's diferent of 1

if we change for

If UBound($avArray, 0) > 2 And UBound($avArray, 0) < 1 Then Return SetError(2, 0, 0)

the function accepts 2D Array, the first line of code is in all of the functions in Array.au3.

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by Gary

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

Fixed 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 Gary.

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

Note: See TracTickets for help on using tickets.