#3949 closed Bug (Fixed)

ArrayDisplayInternals : incorrect indication in Func ArrayDisplay_GetData

Reported by: pixelsearch Owned by: Jpm
Milestone: Component: Standard UDFs
Version: Severity: None
Keywords: Cc:


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

...this should do it :

Local $sSubscript = ""
For $i = 1 To UBound($sTemp, 0)
    $sSubscript &= "[" & UBound($sTemp, $i) & "]"

Attachments (0)

Change History (1)

comment:1 Changed 10 months ago by Jpm

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

Fixed by revision [12984] in version:

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

as closed The owner will remain Jpm.

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

Note: See TracTickets for help on using tickets.