Modify ↓
Opened 11 years ago
Closed 11 years ago
#2646 closed Bug (No Bug)
_ArraySearch still has a bug!
Reported by: | milos83 | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.8.1 | Severity: | None |
Keywords: | Cc: |
Description
Producer
Dim $Proxys[3] $Proxys[0] = 0 $Proxys[1] = "user:pass@127.0.0.2" $Proxys[2] = "user:pass@127.0.0.3" $SearchProxy = "a14.64.74.22" $wtf = _ArraySearch($Proxys,$SearchProxy) ConsoleWrite(@error & @LF) ConsoleWrite($wtf & @LF)
_ArraySearch will return 0 and will not set @error = 0 (zero is undocumented)
Correct result would be return -1 , @error = 6
Attachments (0)
Change History (3)
comment:1 Changed 11 years ago by anonymous
comment:2 Changed 11 years ago by Melba23
Actually this is no longer a bug as the addition of the $iCompare parameter as explained in ticket http://www.autoitscript.com/trac/autoit/ticket/1569.
M23
comment:3 Changed 11 years ago by Melba23
- Resolution set to No Bug
- Status changed from new to closed
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.
Note: See
TracTickets for help on using
tickets.
Producer
_ArraySearch will return 0 and will not set @error = 0 (zero is undocumented)
Correct result would be return -1 , @error = 6