Modify

Opened 8 years ago

Closed 6 years ago

#3653 closed Feature Request (Rejected)

Can't set value of element of nested array

Reported by: gf16954@… Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc: gf16954@…

Description

Local $b[2]
Local $c[2]
$c[0]=1
$b[0]=$c
ConsoleWrite(($b[0])[0] & @CRLF) ; 1
($b[0])[0]=2
ConsoleWrite(($b[0])[0] & @CRLF) ; 1 !!!

; Workaround
Func Y(byRef $a, $i, $b)
	$a[$i]=$b
EndFunc

Y($b[0],0,2)
ConsoleWrite(($b[0])[0] & @CRLF) ; 2

Attachments (0)

Change History (4)

comment:1 by Melba23, 8 years ago

Type: BugFeature Request

comment:2 by Melba23, 8 years ago

Quote/

Think about your feature request. If you can do it via UDFs, then don't ask for it to be built in. There's a reason you can create your own functions.

/Quote

Certainly not a bug, but if it is a simple fix it might be worth the Devs looking at it. Otherwise just use your workaround as the above quote from the Trac lead-in page mentions.

M23

comment:3 by TicketCleanup, 8 years ago

Version: 3.3.14.0

Automatic ticket cleanup.

comment:4 by Melba23, 6 years ago

Resolution: Rejected
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.