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.

Attachments (0)

Change History (2)

comment:1 by J-Paul Mesnage, 21 months ago

Thanks
Already fix for the next beta

comment:2 by J-Paul Mesnage, 21 months ago

Resolution: Works For Me
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.