Modify

Opened 16 years ago

Closed 16 years ago

#600 closed Bug (Fixed)

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

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

Description

i have proved the Beta 3.2.13.8 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 16 years ago by Gary

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

Fixed in version: 3.2.13.9

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


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

 
Note: See TracTickets for help on using tickets.