Hi there
This has been bugging me for sometime now, but usually I just work around it.
I think now is a good time for me to get me head around what is going on.
In the following code, the _ArrayDisplay function works, indicating that $aRet is an array. (It definitely is an array as that is what the function returns.)
Yet, when I try to use $aRet[0][0] so that I can see it's value, I get the "Subscript used with non-Array variable." error. Why is this when $aRet is definitely an array?
This has been bugging me for sometime now, but usually I just work around it.
I think now is a good time for me to get me head around what is going on.
In the following code, the _ArrayDisplay function works, indicating that $aRet is an array. (It definitely is an array as that is what the function returns.)
Yet, when I try to use $aRet[0][0] so that I can see it's value, I get the "Subscript used with non-Array variable." error. Why is this when $aRet is definitely an array?
[ autoit ]
$aRet = _GUIListViewEx_Editonclick($iEditMode) ; Allow keys to move edit location _ArrayDisplay($aRet) if $aRet[0][0]=1 then $lvitem=_GUIListViewEx_ReturnArray(1) _Display_Icons() EndIf