﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
4103	The expression in the array index was evaluated twice when assigning value	anonymous		"Example code:
{{{
Local $i = -1
Func Inc()
	$i += 1
	ConsoleWrite(""$i = "" & $i & @CRLF)
	Return $i
EndFunc

Local $a[5] = [0, 1, 2, 3, 4]
$a[Inc()] = ""Test""
_DebugArrayDisplay($a, $i)
}}}

The result in console:
{{{
$i = 0
$i = 1
}}}

The result of array display:
{{{
Row|Col 0
# 0|0
# 1|Test
# 2|2
# 3|3
# 4|4
}}}

The result of {{{$i}}}: 1

This bug only occurs when assigning value to the array ({{{$a[Inc()] = ""value""}}}), but not when getting value ({{{$value = $a[Inc()]}}})"	Bug	new		AutoIt		None			
