Modify

#4019 closed Bug (Works For Me)

Little bug in ArrayDisplayInternals

Reported by: pixelsearch Owned by:
Milestone: Component: AutoIt
Version: 3.3.16.1 Severity: None
Keywords: Cc:

Description

Hello jpm
I think there's something missing in ArrayDisplayInternals.au3 (version 3.3.16.1)

Switch VarGetType($sTemp)
	Case "Array"
		Local $sSubscript = ""
		For $i = 1 To UBound($sTemp, 0)
			$sSubscript = "[" & UBound($sTemp, $i) & "]"
		Next

It should be :

			$sSubscript &= "[" & UBound($sTemp, $i) & "]"

Without &= then a 2D array will always be displayed as a 1D array, with only 1 pair of brackets containing... the number of columns.

Change History (2)

comment:1 Changed 11 months ago by Jpm

Thanks
Already fix for the next beta

comment:2 Changed 11 months ago by Jpm

  • Resolution set to Works For Me
  • 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.

Add Comment

Author


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

 
Note: See TracTickets for help on using tickets.