﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3515	Assigning directly a value to an element of an array in array	j0kky		"If you want to assign a value to an element of an array contained in another array, you should use another function with a ByRef parameter, it could be useful if we could assign directly that value, this is an example that works:
{{{
Local $a[3] = [1, 2], $b[3] = [3, 4]
$a[2] = $b
ModArray($a[2], 2, ""Test"")
ConsoleWrite(($a[2])[2] & @CRLF)

Func ModArray(ByRef $aArray, $iElement, $value)
    $aArray[$iElement] = $value
EndFunc
}}}
If I try to assign directly the value writing
{{{
($a[2])[2] = ""Test""
}}}
I get the error:
{{{
Statement cannot be just an expression.
}}}"	Feature Request	closed		AutoIt		None	Rejected	array in array	
