I use
 Code:
1 + UBound($aData) + ' elements in the array' ?
when debugging my code. Eliminates the whole "-1 is empty, 0 is 1" issue.. \:\)

Glenn
_________________________
Actually I am a Rocket Scientist! \:D