;Copy the [n][3] ObjectTable from the class properties local $aObjectTable = $oSelf.ObjectTable ;Determine [n] local $iElements = UBound($aObjectTable,1) ;Debug script - Output says 1 row, 3 columns (which is correct, in this instance) If IsArray($aObjectTable) Then MsgBox(0, "AnnihilateElements", "Still an array" & @CRLF & "Rows: " & $iElements & @CRLF & "Columns :" & UBound($aObjectTable, 2)) ;Store object from first column of table (These next three lines cause the error) local $oObject = $aObjectTable[0][0] local $sGUID = $aObjectTable[0][1] local $hObj = $aObjectTable[0][2]
According to the called MsgBox, the array is one row and three columns in size (as expected). According to UBound($aObjectTable, 0), it is only one dimensional. If I address $aObjectTable as a one dimensional array, it throws an out-of-bounds array index error. Any suggestions?