Modify

#3949 closed Bug (Fixed)

ArrayDisplayInternals : incorrect indication in Func ArrayDisplay_GetData

Reported by: pixelsearch Owned by: Jpm
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 Changed 19 months ago by Jpm

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

Fixed by revision [12984] in version: 3.3.17.0

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

Action
as closed The owner will remain Jpm.
Author


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

 
Note: See TracTickets for help on using tickets.