Modify

Opened 17 years ago

Closed 17 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 by Gary, 17 years ago

Milestone: 3.2.13.9
Owner: set to Gary
Resolution: Fixed
Status: newclosed

Fixed in version: 3.2.13.9

Modify Ticket

Action
as closed The owner will remain Gary.

Add Comment


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