Dimension MyArray(10) myArray[1] = 'jim' nlen = alen(MyArray,0) ?nlen && this will show 10oh well, what in your case, would constitute an empty array? That is the problem. I think the DIMENSION command fills elements with a value of .F., which may not help much.