G'day all I've got a larger program that adds to an array when elements are missing. So I do and _arraysearch before adding new rows. The trouble is the search always comes beack element found. I know I'm doing something wrong but I just can't see it. Anyway here is a piece of test code I put together. The 2 tests should return -1 and an @error but they return 0 (IE found at row 0) #include <Array.au3> Dim $array1[1][2] $array1[0][0] = "test00" $array1[0][1] = 0 _ArrayDisp