#3078 closed Bug (Completed)
bug in _ArrayUnique
| Reported by: | anonymous | Owned by: | Melba23 |
|---|---|---|---|
| Milestone: | 3.3.14.2 | Component: | Standard UDFs |
| Version: | 3.3.14.0 | Severity: | None |
| Keywords: | Cc: |
Description
"C:\Program Files (x86)\AutoIt3\autoit-v3.3.14.0\Include\Array.au3" (2297) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: If IsInt($aArray[$iBase]) Then If IsInt(^ ERROR ->21:48:19 AutoIt3.exe ended.rc:1
reproduser:
#include <Array.au3> Local $aArray[2][3] = [[1,"",""],["aaa","bbb","ccc"]] _ArrayDisplay($aArray) Local $NewPatternArray = _ArrayUnique($aArray,2,1)
Attachments (2)
Change History (12)
comment:2 by , 11 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
Please ensure you have upgraded the UDFs as well
comment:3 by , 11 years ago
Why?? I just have clean install of 3.3.14.0 and bug is still crush script... Or you saying UDFs is not updated in this process?
>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "E:\Program Files\Auto-it scripts\test_507.au3" /UserParams +>19:23:23 Starting AutoIt3Wrapper v.15.503.1200.1 SciTE v.3.5.4.0 Keyboard:00000409 OS:WIN_XP/Service Pack 2 CPU:X64 OS:X64 Environment(Language:0409) +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Documents and Settings\***\Local Settings\Application Data\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Documents and Settings\***\Local Settings\Application Data\AutoIt v3\SciTE >Running AU3Check (3.3.14.0) from:C:\Program Files (x86)\AutoIt3 input:E:\Program Files\Auto-it scripts\test_507.au3 +>19:23:25 AU3Check ended.rc:0 >Running:(3.3.14.0):C:\Program Files (x86)\AutoIt3\autoit3.exe "E:\Program Files\Auto-it scripts\test_507.au3" --> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop "C:\Program Files (x86)\AutoIt3\Include\Array.au3" (2297) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: If IsInt($aArray[$iBase]) Then If IsInt(^ ERROR ->19:23:28 AutoIt3.exe ended.rc:1 +>19:23:28 AutoIt3Wrapper Finished. >Exit code: 1 Time: 5.577
comment:4 by , 11 years ago
As addition - problem is - my array is 2D, so string like
If IsInt($aArray[$iBase]) Then
immediately and reasonable cause error. Am I right?
comment:5 by , 11 years ago
I am not able to reproduce it with the reproducer above, so I a, suggesting you ensure the array UDF has the same version number as to the AutoIt version.
Related: https://www.autoitscript.com/forum/topic/174055-_arrayunique-failing-for-some-reason
comment:6 by , 11 years ago
| Resolution: | No Bug |
|---|---|
| Status: | closed → reopened |
comment:8 by , 11 years ago
| Milestone: | → 3.3.15.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Completed |
| Status: | reopened → closed |
Changed by revision [11433] in version: 3.3.15.1
by , 10 years ago
test script to go with test data to reproduce possible bug with _ArrayUnique
comment:9 by , 10 years ago
| Milestone: | 3.3.15.1 → 3.3.14.2 |
|---|

Seems this is a regression, as it worked in v3.3.12.0