On Mar 21, 2007, at 11:08 AM, Charles Heizer wrote: > I think I have got it solved but it's a hack. > > I was adding items to the array in a for loop, so I'm now adding this > (theArr.Append "ToBeDeleted") before the for loop and it adds just > fine. Then the for loop adds the other entries in to the array and > after the for loop I remove theArr(0).
Ubound is NOT the count of items in the array (you do know that right ?) The count is UBound + 1 Ubound is the highest index in the array that is used Since arrays always start at 0 this makes sense that adding 1 item results in a ubound of 0, but the count is 1 _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
