Modify ↓
Opened 3 years ago
Closed 3 years ago
#3949 closed Bug (Fixed)
ArrayDisplayInternals : incorrect indication in Func ArrayDisplay_GetData
| Reported by: | pixelsearch | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| Milestone: | 3.3.17.0 | Component: | Standard UDFs |
| Version: | 3.3.16.1 | Severity: | None |
| Keywords: | Cc: |
Description
Inside the function, when $sTemp is a 2D array, then only 1 dimension is indicated instead of 2. Reproducer :
#include <Array.au3> Local $aArray[1] Local $aInternal[3][5]=[[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5]] $aArray[0] = $aInternal _ArrayDisplay($aArray) ; will wrongly display {Array[5]} instead of {Array[3][5]}
Suggested fix : instead of...
Local $sSubscript = "" For $i = 1 To UBound($sTemp, 0) $sSubscript = "[" & UBound($sTemp, $i) & "]" ; line 727 (in AutoIt 3.3.16.1) Next
...this should do it :
Local $sSubscript = "" For $i = 1 To UBound($sTemp, 0) $sSubscript &= "[" & UBound($sTemp, $i) & "]" Next
Attachments (0)
Change History (1)
comment:1 by , 3 years ago
| Milestone: | → 3.3.17.0 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed by revision [12984] in version: 3.3.17.0